]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit23a404c06e5d0d6980d7e8f18d0a6dc89885341e
tree816e9b7f98f0eb174557dfd093526b165f274348
parent5e342234bd4e0c148e93e6d0ca6be1661283adaf
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