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/ecryptfs | |
parent | 5a14696c1795d3843673b5cf1982d0e5357a5bbf (diff) | |
download | blackbird-op-linux-8e6d782cab50884ba94324632700e6233a252f6a.tar.gz blackbird-op-linux-8e6d782cab50884ba94324632700e6233a252f6a.zip |
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/ecryptfs')
-rw-r--r-- | fs/ecryptfs/inode.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ecryptfs/inode.c b/fs/ecryptfs/inode.c index dc60b8bd09ec..c23b01bb7e04 100644 --- a/fs/ecryptfs/inode.c +++ b/fs/ecryptfs/inode.c @@ -640,7 +640,8 @@ ecryptfs_rename(struct inode *old_dir, struct dentry *old_dentry, goto out_lock; } rc = vfs_rename(lower_old_dir_dentry->d_inode, lower_old_dentry, - lower_new_dir_dentry->d_inode, lower_new_dentry); + lower_new_dir_dentry->d_inode, lower_new_dentry, + NULL); if (rc) goto out_lock; if (target_inode) |