summaryrefslogtreecommitdiff
path: root/fs/nfsd/filecache.h
diff options
context:
space:
mode:
authorChenXiaoSong <chenxiaosong2@huawei.com>2022-09-22 19:31:55 +0300
committerChuck Lever <chuck.lever@oracle.com>2022-09-26 21:02:50 +0300
commit64776611a06322b99386f8dfe3b3ba1aa0347a38 (patch)
treefde92667016f47841f89a1225fb8672c1bdc9fcc /fs/nfsd/filecache.h
parent1d7f6b302b75ff7acb9eb3cab0c631b10cfa7542 (diff)
downloadlinux-64776611a06322b99386f8dfe3b3ba1aa0347a38.tar.xz
nfsd: use DEFINE_SHOW_ATTRIBUTE to define nfsd_reply_cache_stats_fops
Use DEFINE_SHOW_ATTRIBUTE helper macro to simplify the code. nfsd_net is converted from seq_file->file instead of seq_file->private in nfsd_reply_cache_stats_show(). Signed-off-by: ChenXiaoSong <chenxiaosong2@huawei.com> [ cel: reduce line length ] Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd/filecache.h')
0 files changed, 0 insertions, 0 deletions