diff options
author | J. Bruce Fields <bfields@redhat.com> | 2010-10-31 00:04:44 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-01-04 16:49:28 -0500 |
commit | c45821d263a8a5109d69a9e8942b8d65bcd5f31a (patch) | |
tree | 816e9b7f98f0eb174557dfd093526b165f274348 /include/linux/fs.h | |
parent | c84d500bc41658165ceb0dd04dc6a75249940fba (diff) |
locks: eliminate fl_mylease callback
The nfs server only supports read delegations for now, so we don't care
how conflicts are determined. All we care is that unlocks are
recognized as matching the leases they are meant to remove. After the
last patch, a comparison of struct files will work for that purpose. So
we no longer need this callback.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 090f0eacde29..73ce69f728e1 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1059,7 +1059,6 @@ struct lock_manager_operations { | |||
1059 | int (*fl_grant)(struct file_lock *, struct file_lock *, int); | 1059 | int (*fl_grant)(struct file_lock *, struct file_lock *, int); |
1060 | void (*fl_release_private)(struct file_lock *); | 1060 | void (*fl_release_private)(struct file_lock *); |
1061 | void (*fl_break)(struct file_lock *); | 1061 | void (*fl_break)(struct file_lock *); |
1062 | int (*fl_mylease)(struct file_lock *, struct file_lock *); | ||
1063 | int (*fl_change)(struct file_lock **, int); | 1062 | int (*fl_change)(struct file_lock **, int); |
1064 | }; | 1063 | }; |
1065 | 1064 | ||