]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: erofs: kill sbi->dev_name
authorGao Xiang <gaoxiang25@huawei.com>
Wed, 31 Jul 2019 15:57:40 +0000 (23:57 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Aug 2019 11:52:05 +0000 (13:52 +0200)
commit9e794de573d7d54e3742628227e585bd90acc38a
tree00fdb7e5f1dace913087837d9de8359cc49ab423
parent22fe04a77d104996d838a487a1d031eda8d439b7
staging: erofs: kill sbi->dev_name

As Al said, "the only use of sbi->dev_name is debugging
printks and all of those have sb->s_id available, with
device name stored in there.  Which makes the whole
thing bloody weird".

sbi->dev_name was used for our debugging use and it's
better to just use s_id in community and delete
the whole erofs_mount_private stuff.

Suggested-by: Al Viro <viro@zeniv.linux.org.uk>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Link: https://lore.kernel.org/r/20190731155752.210602-11-gaoxiang25@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/erofs/internal.h
drivers/staging/erofs/super.c