isofs: add KERN_CONT to printing of ER records
authorMike Rapoport <rppt@linux.vnet.ibm.com>
Wed, 30 Nov 2016 07:52:01 +0000 (09:52 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Nov 2016 18:41:26 +0000 (10:41 -0800)
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>
fs/isofs/rock.c

index 98b3eb7d8eaf64d5eb006801aeb130ff8503f593..0ec137310320f080316c5e6111198b842a77303e 100644 (file)
@@ -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);