mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 14:41:39 +00:00
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>
This commit is contained in:
parent
ad86f605c5
commit
1b72040645
@ -873,7 +873,7 @@ static void nfs3_nlm_release_call(void *data)
|
||||
}
|
||||
}
|
||||
|
||||
const struct nlmclnt_operations nlmclnt_fl_close_lock_ops = {
|
||||
static const struct nlmclnt_operations nlmclnt_fl_close_lock_ops = {
|
||||
.nlmclnt_alloc_call = nfs3_nlm_alloc_call,
|
||||
.nlmclnt_unlock_prepare = nfs3_nlm_unlock_prepare,
|
||||
.nlmclnt_release_call = nfs3_nlm_release_call,
|
||||
|
Loading…
Reference in New Issue
Block a user