summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Rapoport <rppt@linux.vnet.ibm.com>2016-11-30 09:52:01 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2016-11-30 10:41:26 -0800
commita107bf8b3905b61bf8b5c181268bca8c05af7f69 (patch)
tree1551638221cd39320c1ffa73474ec9dffa0ccd38
parentded6e842cf499ef04b0d611d92b859d5b846c497 (diff)
downloadlinux-stable-a107bf8b3905b61bf8b5c181268bca8c05af7f69.tar.gz
linux-stable-a107bf8b3905b61bf8b5c181268bca8c05af7f69.tar.bz2
linux-stable-a107bf8b3905b61bf8b5c181268bca8c05af7f69.zip
isofs: add KERN_CONT to printing of ER records
The ER records are printed without explicit log level presuming line continuation until "\n". After the commit 4bcc595ccd8 (printk: reinstate KERN_CONT for printing continuation lines), the ER records are printed a character per line. Adding KERN_CONT to appropriate printk statements restores the printout behavior. Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--fs/isofs/rock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/isofs/rock.c b/fs/isofs/rock.c
index 98b3eb7d8eaf..0ec137310320 100644
--- a/fs/isofs/rock.c
+++ b/fs/isofs/rock.c
@@ -377,9 +377,9 @@ repeat:
{
int p;
for (p = 0; p < rr->u.ER.len_id; p++)
- printk("%c", rr->u.ER.data[p]);
+ printk(KERN_CONT "%c", rr->u.ER.data[p]);
}
- printk("\n");
+ printk(KERN_CONT "\n");
break;
case SIG('P', 'X'):
inode->i_mode = isonum_733(rr->u.PX.mode);