locks: break delegations on any attribute modification
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 20 Sep 2011 21:19:26 +0000 (17:19 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 9 Nov 2013 05:16:44 +0000 (00:16 -0500)
commit27ac0ffeac80ba6b9580529568d06144df044366
treea2e523716039784271250387d6e94ec4f01daec5
parent146a8595c6399ee6ab4b5cc34c0d28aa4835fdc5
locks: break delegations on any attribute modification

NFSv4 uses leases to guarantee that clients can cache metadata as well
as data.

Cc: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
Cc: David Howells <dhowells@redhat.com>
Cc: Tyler Hicks <tyhicks@canonical.com>
Cc: Dustin Kirkland <dustin.kirkland@gazzang.com>
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/base/devtmpfs.c
fs/attr.c
fs/cachefiles/interface.c
fs/ecryptfs/inode.c
fs/hpfs/namei.c
fs/inode.c
fs/nfsd/vfs.c
fs/open.c
fs/utimes.c
include/linux/fs.h