Whamcloud - gitweb
LU-6142 lustre: make various 'struct file_operations' static
authorMr NeilBrown <neilb@suse.de>
Tue, 11 May 2021 03:47:57 +0000 (20:47 -0700)
committerLi Xi <lixi@ddn.com>
Tue, 18 May 2021 01:46:09 +0000 (01:46 +0000)
commitccb38889cad2f6371eb22514c993b3edcbe36771
treee5c9f41f2b885c31ac57cb72605a8efb5db3cc48
parent9eda2c1c4693b7359f683e23f89b3d3fb480d787
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.

Lustre-change: https://review.whamcloud.com/39741
Lustre-commit: 950200a21fb0636c53eefc9b6337bf1d10ad121e

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