summaryrefslogtreecommitdiff
path: root/fs/nfsd/nfsctl.c
diff options
context:
space:
mode:
authorChenXiaoSong <chenxiaosong2@huawei.com>2022-09-23 00:31:54 +0800
committerChuck Lever <chuck.lever@oracle.com>2022-09-26 14:02:49 -0400
commit1d7f6b302b75ff7acb9eb3cab0c631b10cfa7542 (patch)
tree8c51783f8a4d368c2582580ef922c88f3ebfdcb1 /fs/nfsd/nfsctl.c
parent9beeaab8e05d353d709103cafa1941714b4d5d94 (diff)
nfsd: use DEFINE_SHOW_ATTRIBUTE to define client_info_fops
Use DEFINE_SHOW_ATTRIBUTE helper macro to simplify the code. inode is converted from seq_file->file instead of seq_file->private in client_info_show(). Signed-off-by: ChenXiaoSong <chenxiaosong2@huawei.com> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd/nfsctl.c')
0 files changed, 0 insertions, 0 deletions