Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.6.24 /fs/debugfs/inode.c

Filename:/fs/debugfs/inode.c
Lines Added:1
Lines Deleted:1
Also changed in: (Previous) 2.6.24-rc8  2.6.24-rc7  2.6.24-rc6  2.6.24-rc5  2.6.24-rc4  2.6.24-rc3 
(Following) 2.6.24-git1  2.6.24-git2  2.6.24-git3  2.6.24-git4  2.6.24-git5  2.6.24-git6 

Location
[  2.6.24
  [  fs
    [  debugfs
       o  inode.c

Patch

diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c
index 11be8a3..6a713b3 100644
--- a/fs/debugfs/inode.c
+++ b/fs/debugfs/inode.c
@@ -413,7 +413,7 @@ struct dentry *debugfs_rename(struct dentry *old_dir, struct dentry *old_dentry,
    d_move(old_dentry, dentry);
    fsnotify_move(old_dir->d_inode, new_dir->d_inode, old_name,
       old_dentry->d_name.name, S_ISDIR(old_dentry->d_inode->i_mode),
-      NULL, old_dentry->d_inode);
+      NULL, old_dentry);
    fsnotify_oldname_free(old_name);
    unlock_rename(new_dir, old_dir);
    dput(dentry);


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.