Whamcloud - gitweb
LU-12043 llite: switch to use ll_fsname directly 02/34602/11
authorWang Shilong <wshilong@ddn.com>
Fri, 5 Apr 2019 01:43:29 +0000 (09:43 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 30 Apr 2019 03:36:55 +0000 (03:36 +0000)
commit506b68a359045cd8c78e5385eab6d4e01f2fdb83
tree5fa6d7abc9a2756cafae89b10dcc546e70ce0e0f
parenta155c3fca38d2a3092f9b5d116ad7877d51d1db1
LU-12043 llite: switch to use ll_fsname directly

There are many places which try to access filesystem
fsname, instead of parsing it everytime, just store
it into @sbi, we could use @ll_fsname directly whenever we need.

Change-Id: I25b8505b9aac5d4f6e97fe3691321be2b800f35d
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Reviewed-on: https://review.whamcloud.com/34602
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Jenkins
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
12 files changed:
lustre/llite/dir.c
lustre/llite/file.c
lustre/llite/lcommon_cl.c
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c
lustre/llite/llite_nfs.c
lustre/llite/lproc_llite.c
lustre/llite/statahead.c
lustre/llite/symlink.c
lustre/llite/vvp_io.c
lustre/llite/xattr.c
lustre/llite/xattr26.c