mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
ovl_lookup_real_one(): don't bother with strlen()
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
1d8b29fdb7
commit
230c6402b1
7 changed files with 13 additions and 15 deletions
|
|
@ -179,10 +179,10 @@ int __fsnotify_parent(const struct path *path, struct dentry *dentry, __u32 mask
|
|||
take_dentry_name_snapshot(&name, dentry);
|
||||
if (path)
|
||||
ret = fsnotify(p_inode, mask, path, FSNOTIFY_EVENT_PATH,
|
||||
name.name, 0);
|
||||
name.name.name, 0);
|
||||
else
|
||||
ret = fsnotify(p_inode, mask, dentry->d_inode, FSNOTIFY_EVENT_INODE,
|
||||
name.name, 0);
|
||||
name.name.name, 0);
|
||||
release_dentry_name_snapshot(&name);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue