aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-07-18 05:54:21 -0400
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-08-13 04:15:50 -0400
commitce769caa50a3fc835b4fc1a6e1463ada127a2e8a (patch)
tree959e6bac1d44f2f34e4d39bffb7267419c38a381 /fs
parent2e244d08369b510923fe8290d40d51b0e88bfebe (diff)
UBIFS: print volume name as well
We encouredge people to mount using volume name, not device numbers. So print the name of the mounted UBI volume, not just IDs. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/ubifs/super.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c
index ca1e2d4e03cc..43af934a7558 100644
--- a/fs/ubifs/super.c
+++ b/fs/ubifs/super.c
@@ -1122,8 +1122,8 @@ static int mount_ubifs(struct ubifs_info *c)
1122 if (err) 1122 if (err)
1123 goto out_infos; 1123 goto out_infos;
1124 1124
1125 ubifs_msg("mounted UBI device %d, volume %d", c->vi.ubi_num, 1125 ubifs_msg("mounted UBI device %d, volume %d, name \"%s\"",
1126 c->vi.vol_id); 1126 c->vi.ubi_num, c->vi.vol_id, c->vi.name);
1127 if (mounted_read_only) 1127 if (mounted_read_only)
1128 ubifs_msg("mounted read-only"); 1128 ubifs_msg("mounted read-only");
1129 x = (long long)c->main_lebs * c->leb_size; 1129 x = (long long)c->main_lebs * c->leb_size;