aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/dcache.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2019-04-26 13:07:27 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2019-04-26 13:13:33 -0400
commit230c6402b1b305c21c91b56cd9de95a608898506 (patch)
tree3f57fb92ec24aa5a8a1f3b671bb9484e3b5957a4 /include/linux/dcache.h
parentsysv: bury the broken "quietly truncate the long filenames" logics (diff)
downloadwireguard-linux-230c6402b1b305c21c91b56cd9de95a608898506.tar.xz
wireguard-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 'include/linux/dcache.h')
-rw-r--r--include/linux/dcache.h2
1 files changed, 1 insertions, 1 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 *);