Skip to content

Commit beadadf

Browse files
rgenouddedekind
authored andcommitted
UBIFS: correct mount message
When mounting an UBIFS R/W volume, we have the message: UBIFS: mounted UBI device 0, volume 1, name "rootfs"(null) With this patch, we'll have: UBIFS: mounted UBI device 0, volume 1, name "rootfs" Which is, I think, what was intended. Signed-off-by: Richard Genoud <richard.genoud@gmail.com> Cc: stable@vger.kernel.org [v3.7+] Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
1 parent c1be5a5 commit beadadf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎fs/ubifs/super.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1412,7 +1412,7 @@ static int mount_ubifs(struct ubifs_info *c)
14121412

14131413
ubifs_msg("mounted UBI device %d, volume %d, name \"%s\"%s",
14141414
c->vi.ubi_num, c->vi.vol_id, c->vi.name,
1415-
c->ro_mount ? ", R/O mode" : NULL);
1415+
c->ro_mount ? ", R/O mode" : "");
14161416
x = (long long)c->main_lebs * c->leb_size;
14171417
y = (long long)c->log_lebs * c->leb_size + c->max_bud_bytes;
14181418
ubifs_msg("LEB size: %d bytes (%d KiB), min./max. I/O unit sizes: %d bytes/%d bytes",

0 commit comments

Comments
 (0)