OSDN Git Service

NFS: make struct nlmclnt_fl_close_lock_ops static
authorColin Ian King <colin.king@canonical.com>
Wed, 7 Feb 2018 11:27:54 +0000 (11:27 +0000)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 22 Feb 2018 17:23:01 +0000 (12:23 -0500)
commit1b7204064582792b77c6be796e78bd821c9f71b1
tree3f7872631cc6fa99df584fd57d1d29e74ee60b7c
parentad86f605c59500da82d196ac312cfbac3daba31d
NFS: make struct nlmclnt_fl_close_lock_ops static

The structure nlmclnt_fl_close_lock_ops s local to the source and does
not need to be in global scope, so make it static.

Cleans up sparse warning:
fs/nfs/nfs3proc.c:876:33: warning: symbol 'nlmclnt_fl_close_lock_ops' was not
declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs3proc.c