diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2019-04-26 20:07:27 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2019-04-26 20:13:33 +0300 |
commit | 230c6402b1b305c21c91b56cd9de95a608898506 (patch) | |
tree | 3f57fb92ec24aa5a8a1f3b671bb9484e3b5957a4 /include | |
parent | 1d8b29fdb7ef39bd76bcd7a7f516938163097b0e (diff) | |
download | linux-230c6402b1b305c21c91b56cd9de95a608898506.tar.xz |
ovl_lookup_real_one(): don't bother with strlen()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/dcache.h | 2 | ||||
-rw-r--r-- | include/linux/fsnotify.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/dcache.h b/include/linux/dcache.h index 2f044e232e1b..73c3a8f90580 100644 --- a/include/linux/dcache.h +++ b/include/linux/dcache.h @@ -593,7 +593,7 @@ static inline struct inode *d_real_inode(const struct dentry *dentry) } struct name_snapshot { - const unsigned char *name; + struct qstr name; unsigned char inline_name[DNAME_INLINE_LEN]; }; void take_dentry_name_snapshot(struct name_snapshot *, struct dentry *); diff --git a/include/linux/fsnotify.h b/include/linux/fsnotify.h index 09587e2860b5..e09cfff69bb2 100644 --- a/include/linux/fsnotify.h +++ b/include/linux/fsnotify.h @@ -178,7 +178,7 @@ static inline void fsnotify_nameremove(struct dentry *dentry, int isdir) take_dentry_name_snapshot(&name, dentry); fsnotify(d_inode(parent), mask, d_inode(dentry), FSNOTIFY_EVENT_INODE, - name.name, 0); + name.name.name, 0); release_dentry_name_snapshot(&name); dput(parent); |