]> git.baikalelectronics.ru Git - kernel.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)
commit24c46d6dcb1371c10080ebecbfc026a4d4d25613
tree00fdb7e5f1dace913087837d9de8359cc49ab423
parent8e99b0bb7d9046355078978d9eead6c460e9afcc
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