]> git.ipfire.org Git - thirdparty/linux.git/commit - fs/locks.c
fs: track fl_owner for leases
authorChristoph Hellwig <hch@lst.de>
Wed, 21 Jan 2015 18:14:02 +0000 (19:14 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 2 Feb 2015 17:09:38 +0000 (18:09 +0100)
commit2ab99ee12440e66ec1efd2a98599010471de785e
treee9d8946babd68a56c0c35bdf77d852ee74e346dc
parent6cae0a4648c0db2a74efb816cd2ce84390c90480
fs: track fl_owner for leases

Just like for other lock types we should allow different owners to have
a read lease on a file.  Currently this can't happen, but with the addition
of pNFS layout leases we'll need this feature.

Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/locks.c
fs/nfsd/nfs4state.c