diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2019-04-26 13:07:27 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2019-04-26 13:13:33 -0400 |
commit | 230c6402b1b305c21c91b56cd9de95a608898506 (patch) | |
tree | 3f57fb92ec24aa5a8a1f3b671bb9484e3b5957a4 /fs/notify | |
parent | 1d8b29fdb7ef39bd76bcd7a7f516938163097b0e (diff) |
ovl_lookup_real_one(): don't bother with strlen()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/notify')
-rw-r--r-- | fs/notify/fsnotify.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/notify/fsnotify.c b/fs/notify/fsnotify.c index df06f3da166c..fb22f76329ae 100644 --- a/fs/notify/fsnotify.c +++ b/fs/notify/fsnotify.c | |||
@@ -179,10 +179,10 @@ int __fsnotify_parent(const struct path *path, struct dentry *dentry, __u32 mask | |||
179 | take_dentry_name_snapshot(&name, dentry); | 179 | take_dentry_name_snapshot(&name, dentry); |
180 | if (path) | 180 | if (path) |
181 | ret = fsnotify(p_inode, mask, path, FSNOTIFY_EVENT_PATH, | 181 | ret = fsnotify(p_inode, mask, path, FSNOTIFY_EVENT_PATH, |
182 | name.name, 0); | 182 | name.name.name, 0); |
183 | else | 183 | else |
184 | ret = fsnotify(p_inode, mask, dentry->d_inode, FSNOTIFY_EVENT_INODE, | 184 | ret = fsnotify(p_inode, mask, dentry->d_inode, FSNOTIFY_EVENT_INODE, |
185 | name.name, 0); | 185 | name.name.name, 0); |
186 | release_dentry_name_snapshot(&name); | 186 | release_dentry_name_snapshot(&name); |
187 | } | 187 | } |
188 | 188 | ||