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 | |
parent | c84d500bc41658165ceb0dd04dc6a75249940fba (diff) | |
download | kernel_samsung_crespo-c45821d263a8a5109d69a9e8942b8d65bcd5f31a.zip kernel_samsung_crespo-c45821d263a8a5109d69a9e8942b8d65bcd5f31a.tar.gz kernel_samsung_crespo-c45821d263a8a5109d69a9e8942b8d65bcd5f31a.tar.bz2 |
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')
-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 090f0ea..73ce69f 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -1059,7 +1059,6 @@ struct lock_manager_operations { int (*fl_grant)(struct file_lock *, struct file_lock *, int); void (*fl_release_private)(struct file_lock *); void (*fl_break)(struct file_lock *); - int (*fl_mylease)(struct file_lock *, struct file_lock *); int (*fl_change)(struct file_lock **, int); }; |