mirror of
https://github.com/torvalds/linux.git
synced 2026-05-21 05:18:45 +02:00
UBIFS: correct mount message
commit beadadfa54 upstream.
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>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e885d8b8a8
commit
4791df938f
|
|
@ -1412,7 +1412,7 @@ static int mount_ubifs(struct ubifs_info *c)
|
|||
|
||||
ubifs_msg("mounted UBI device %d, volume %d, name \"%s\"%s",
|
||||
c->vi.ubi_num, c->vi.vol_id, c->vi.name,
|
||||
c->ro_mount ? ", R/O mode" : NULL);
|
||||
c->ro_mount ? ", R/O mode" : "");
|
||||
x = (long long)c->main_lebs * c->leb_size;
|
||||
y = (long long)c->log_lebs * c->leb_size + c->max_bud_bytes;
|
||||
ubifs_msg("LEB size: %d bytes (%d KiB), min./max. I/O unit sizes: %d bytes/%d bytes",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user