diff options
author | Richard Genoud <richard.genoud@gmail.com> | 2013-04-02 06:24:37 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-21 21:21:36 -0400 |
commit | 4791df938fe7aa27a9fe50e4582efd583a045541 (patch) | |
tree | 92167bb0e98ef908ae5fa4747e0c6f709b5025b5 /fs | |
parent | e885d8b8a8ff435d4fcb66c7376e349c4658621d (diff) |
UBIFS: correct mount message
commit beadadfa5467e09e36891f39cae1f5d8d3bbf17e 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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ubifs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c index f21acf0ef01f..879b9976c12b 100644 --- a/fs/ubifs/super.c +++ b/fs/ubifs/super.c | |||
@@ -1412,7 +1412,7 @@ static int mount_ubifs(struct ubifs_info *c) | |||
1412 | 1412 | ||
1413 | ubifs_msg("mounted UBI device %d, volume %d, name \"%s\"%s", | 1413 | ubifs_msg("mounted UBI device %d, volume %d, name \"%s\"%s", |
1414 | c->vi.ubi_num, c->vi.vol_id, c->vi.name, | 1414 | 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" : ""); |
1416 | x = (long long)c->main_lebs * c->leb_size; | 1416 | x = (long long)c->main_lebs * c->leb_size; |
1417 | y = (long long)c->log_lebs * c->leb_size + c->max_bud_bytes; | 1417 | y = (long long)c->log_lebs * c->leb_size + c->max_bud_bytes; |
1418 | ubifs_msg("LEB size: %d bytes (%d KiB), min./max. I/O unit sizes: %d bytes/%d bytes", | 1418 | ubifs_msg("LEB size: %d bytes (%d KiB), min./max. I/O unit sizes: %d bytes/%d bytes", |