diff options
Diffstat (limited to 'fs/debugfs/inode.c')
-rw-r--r-- | fs/debugfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c index 45b18a5e225c..90933645298c 100644 --- a/fs/debugfs/inode.c +++ b/fs/debugfs/inode.c | |||
@@ -690,7 +690,7 @@ struct dentry *debugfs_rename(struct dentry *old_dir, struct dentry *old_dentry, | |||
690 | } | 690 | } |
691 | d_move(old_dentry, dentry); | 691 | d_move(old_dentry, dentry); |
692 | fsnotify_move(old_dir->d_inode, new_dir->d_inode, old_name, | 692 | fsnotify_move(old_dir->d_inode, new_dir->d_inode, old_name, |
693 | S_ISDIR(old_dentry->d_inode->i_mode), | 693 | d_is_dir(old_dentry), |
694 | NULL, old_dentry); | 694 | NULL, old_dentry); |
695 | fsnotify_oldname_free(old_name); | 695 | fsnotify_oldname_free(old_name); |
696 | unlock_rename(new_dir, old_dir); | 696 | unlock_rename(new_dir, old_dir); |