diff options
author | J. Bruce Fields <bfields@redhat.com> | 2011-07-20 20:21:59 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-07-20 20:23:19 -0400 |
commit | 8fb47a4fbf858a164e973b8ea8ef5e83e61f2e50 (patch) | |
tree | d3b55fbce0e7ba5708a55b91b1ab4079ad192db6 /fs/nfsd/nfs4state.c | |
parent | c46556c6be057da79f51b1a8325ec4c27938bd49 (diff) |
locks: rename lock-manager ops
Both the filesystem and the lock manager can associate operations with a
lock. Confusingly, one of them (fl_release_private) actually has the
same name in both operation structures.
It would save some confusion to give the lock-manager ops different
names.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4state.c')
-rw-r--r-- | fs/nfsd/nfs4state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index 6a471af99dfd..47da52576e66 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c | |||
@@ -2425,8 +2425,8 @@ int nfsd_change_deleg_cb(struct file_lock **onlist, int arg) | |||
2425 | } | 2425 | } |
2426 | 2426 | ||
2427 | static const struct lock_manager_operations nfsd_lease_mng_ops = { | 2427 | static const struct lock_manager_operations nfsd_lease_mng_ops = { |
2428 | .fl_break = nfsd_break_deleg_cb, | 2428 | .lm_break = nfsd_break_deleg_cb, |
2429 | .fl_change = nfsd_change_deleg_cb, | 2429 | .lm_change = nfsd_change_deleg_cb, |
2430 | }; | 2430 | }; |
2431 | 2431 | ||
2432 | 2432 | ||