locks: eliminate fl_mylease callback
authorJ. Bruce Fields <bfields@redhat.com>
Sun, 31 Oct 2010 04:04:44 +0000 (00:04 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 4 Jan 2011 21:49:28 +0000 (16:49 -0500)
commitc45821d263a8a5109d69a9e8942b8d65bcd5f31a
tree816e9b7f98f0eb174557dfd093526b165f274348
parentc84d500bc41658165ceb0dd04dc6a75249940fba
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>
fs/locks.c
fs/nfsd/nfs4state.c
include/linux/fs.h