summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorGao Xiang <hsiangkao@linux.alibaba.com>2024-08-28 12:52:32 +0300
committerGao Xiang <hsiangkao@linux.alibaba.com>2024-09-09 19:46:34 +0300
commit59aadaa7ebafbc57e642d772cfc02c2b907e5b89 (patch)
tree4f3777617a4827380f7f8ac49fbb0ff32b70b912 /rust/helpers/helpers.c
parent9ed50b8231e37b1ae863f5dec8153b98d9f389b4 (diff)
downloadlinux-59aadaa7ebafbc57e642d772cfc02c2b907e5b89.tar.xz
erofs: clean up erofs_register_sysfs()
After commit 684b290abc77 ("erofs: add support for FS_IOC_GETFSSYSFSPATH"), `sb->s_sysfs_name` is now valid. Just use it to get rid of duplicated logic. Reviewed-by: Sandeep Dhavale <dhavale@google.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com> Link: https://lore.kernel.org/r/20240828095232.571946-1-hsiangkao@linux.alibaba.com
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions