summaryrefslogtreecommitdiffstats
path: root/fs/debugfs
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2019-04-26 19:07:27 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2019-04-26 19:13:33 +0200
commit230c6402b1b305c21c91b56cd9de95a608898506 (patch)
tree3f57fb92ec24aa5a8a1f3b671bb9484e3b5957a4 /fs/debugfs
parentsysv: bury the broken "quietly truncate the long filenames" logics (diff)
downloadlinux-230c6402b1b305c21c91b56cd9de95a608898506.tar.xz
linux-230c6402b1b305c21c91b56cd9de95a608898506.zip
ovl_lookup_real_one(): don't bother with strlen()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/debugfs')
-rw-r--r--fs/debugfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c
index 95b5e78c22b1..f7064048d271 100644
--- a/fs/debugfs/inode.c
+++ b/fs/debugfs/inode.c
@@ -819,7 +819,7 @@ struct dentry *debugfs_rename(struct dentry *old_dir, struct dentry *old_dentry,
goto exit;
}
d_move(old_dentry, dentry);
- fsnotify_move(d_inode(old_dir), d_inode(new_dir), old_name.name,
+ fsnotify_move(d_inode(old_dir), d_inode(new_dir), old_name.name.name,
d_is_dir(old_dentry),
NULL, old_dentry);
release_dentry_name_snapshot(&old_name);