Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ce769caa authored by Artem Bityutskiy's avatar Artem Bityutskiy
Browse files

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: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
parent 2e244d08
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1122,8 +1122,8 @@ static int mount_ubifs(struct ubifs_info *c)
	if (err)
		goto out_infos;

	ubifs_msg("mounted UBI device %d, volume %d", c->vi.ubi_num,
		  c->vi.vol_id);
	ubifs_msg("mounted UBI device %d, volume %d, name \"%s\"",
		  c->vi.ubi_num, c->vi.vol_id, c->vi.name);
	if (mounted_read_only)
		ubifs_msg("mounted read-only");
	x = (long long)c->main_lebs * c->leb_size;