aboutsummaryrefslogtreecommitdiff
path: root/fs/namei.c
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2005-08-16 11:29:57 -0700
committerTony Luck <tony.luck@intel.com>2005-08-16 11:29:57 -0700
commitf7001e8f1fa5369ee24f58255726a04a2019e4bd (patch)
tree1bbdd233ad0cf2e0adb4eb04f22b7bfa59a43494 /fs/namei.c
parent85f265d887d2389376f1caa191e9682085feb76e (diff)
parentcf59001235c5a36f3e3701bd593a78cf955a4242 (diff)
Auto-update from upstream
Diffstat (limited to 'fs/namei.c')
-rw-r--r--fs/namei.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/namei.c b/fs/namei.c
index 57046d98a74..b85f158aef0 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -2216,7 +2216,8 @@ int vfs_rename(struct inode *old_dir, struct dentry *old_dentry,
error = vfs_rename_other(old_dir,old_dentry,new_dir,new_dentry);
if (!error) {
const char *new_name = old_dentry->d_name.name;
- fsnotify_move(old_dir, new_dir, old_name, new_name, is_dir, new_dentry->d_inode);
+ fsnotify_move(old_dir, new_dir, old_name, new_name, is_dir,
+ new_dentry->d_inode, old_dentry->d_inode);
}
fsnotify_oldname_free(old_name);