Whamcloud - gitweb
LU-6142 lustre: make various 'struct file_operations' static 41/39741/2
authorMr NeilBrown <neilb@suse.de>
Thu, 27 Aug 2020 04:06:40 +0000 (14:06 +1000)
committerOleg Drokin <green@whamcloud.com>
Fri, 26 Feb 2021 21:25:31 +0000 (21:25 +0000)
commit950200a21fb0636c53eefc9b6337bf1d10ad121e
treebe68dba72a48635fe284052e1218bce7704331b7
parentbf7f08479fa28fc4c1a0513d4eb75f91c7577227
LU-6142 lustre: make various 'struct file_operations' static

These 'struct file_operations' are only used locally, so make them
static.
Except lprocfs_evict_client_fops() which isn't used at all and doesn't
exist, so discard the declaration.

Test-Parameters: trivial
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: Ib6c51683c1e765db202b3f72d2accebe17191303
Reviewed-on: https://review.whamcloud.com/39741
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/include/lprocfs_status.h
lustre/lov/lproc_lov.c
lustre/ptlrpc/nodemap_lproc.c