]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: use DEFINE_SHOW_ATTRIBUTE to define export_features_fops and supported_enctypes...
authorChenXiaoSong <chenxiaosong2@huawei.com>
Thu, 22 Sep 2022 16:31:53 +0000 (00:31 +0800)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 26 Sep 2022 18:02:49 +0000 (14:02 -0400)
commit879af1f02533a1730845a0839b8ba0d0b4a14dd1
tree7572a1f1dae76824552452398b101b08e440d96f
parentc7266782617205ab8e0e19943b2c4fb60e14ea77
nfsd: use DEFINE_SHOW_ATTRIBUTE to define export_features_fops and supported_enctypes_fops

Use DEFINE_SHOW_ATTRIBUTE helper macro to simplify the code.

Signed-off-by: ChenXiaoSong <chenxiaosong2@huawei.com>
[ cel: reduce line length ]
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfsctl.c