diff options
author | J. Bruce Fields <bfields@redhat.com> | 2011-09-20 16:59:58 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-11-09 00:16:43 -0500 |
commit | 8e6d782cab50884ba94324632700e6233a252f6a (patch) | |
tree | 671b0c90795d8ab9d230018069b397c15f941af3 /fs/cachefiles | |
parent | 5a14696c1795d3843673b5cf1982d0e5357a5bbf (diff) | |
download | op-kernel-dev-8e6d782cab50884ba94324632700e6233a252f6a.zip op-kernel-dev-8e6d782cab50884ba94324632700e6233a252f6a.tar.gz |
locks: break delegations on rename
Cc: David Howells <dhowells@redhat.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>
Diffstat (limited to 'fs/cachefiles')
-rw-r--r-- | fs/cachefiles/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cachefiles/namei.c b/fs/cachefiles/namei.c index 31d480c..ca65f39 100644 --- a/fs/cachefiles/namei.c +++ b/fs/cachefiles/namei.c @@ -396,7 +396,7 @@ try_again: cachefiles_io_error(cache, "Rename security error %d", ret); } else { ret = vfs_rename(dir->d_inode, rep, - cache->graveyard->d_inode, grave); + cache->graveyard->d_inode, grave, NULL); if (ret != 0 && ret != -ENOMEM) cachefiles_io_error(cache, "Rename failed with error %d", ret); |