* [PATCH] UBIFS: cosmetic: correct mount message
@ 2013-04-02 10:24 Richard Genoud
2013-05-10 14:09 ` Artem Bityutskiy
0 siblings, 1 reply; 2+ messages in thread
From: Richard Genoud @ 2013-04-02 10:24 UTC (permalink / raw)
To: Artem Bityutskiy; +Cc: Richard Genoud, linux-mtd, Adrian Hunter
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>
---
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 ac838b8..d03ead8 100644
--- a/fs/ubifs/super.c
+++ b/fs/ubifs/super.c
@@ -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",
--
1.7.2.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] UBIFS: cosmetic: correct mount message
2013-04-02 10:24 [PATCH] UBIFS: cosmetic: correct mount message Richard Genoud
@ 2013-05-10 14:09 ` Artem Bityutskiy
0 siblings, 0 replies; 2+ messages in thread
From: Artem Bityutskiy @ 2013-05-10 14:09 UTC (permalink / raw)
To: Richard Genoud; +Cc: linux-mtd, Adrian Hunter
On Tue, 2013-04-02 at 12:24 +0200, Richard Genoud wrote:
> 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>
Although this is consmetic, I think it deserves to be added to the
stable kernels, so I pushed this to linux-ubifs.git and added
Cc: stable@vger.kernel.org [v3.7+]
--
Best Regards,
Artem Bityutskiy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-05-10 14:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-02 10:24 [PATCH] UBIFS: cosmetic: correct mount message Richard Genoud
2013-05-10 14:09 ` Artem Bityutskiy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).