diff options
author | 2019-04-26 13:07:27 -0400 | |
---|---|---|
committer | 2019-04-26 13:13:33 -0400 | |
commit | 230c6402b1b305c21c91b56cd9de95a608898506 (patch) | |
tree | 3f57fb92ec24aa5a8a1f3b671bb9484e3b5957a4 /fs/overlayfs/export.c | |
parent | sysv: bury the broken "quietly truncate the long filenames" logics (diff) | |
download | linux-230c6402b1b305c21c91b56cd9de95a608898506.tar.gz linux-230c6402b1b305c21c91b56cd9de95a608898506.tar.bz2 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/overlayfs/export.c')
-rw-r--r-- | fs/overlayfs/export.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/overlayfs/export.c b/fs/overlayfs/export.c index 54e5d17d7f3e..cc1c9e5606ba 100644 --- a/fs/overlayfs/export.c +++ b/fs/overlayfs/export.c @@ -398,7 +398,7 @@ static struct dentry *ovl_lookup_real_one(struct dentry *connected, * pointer because we hold no lock on the real dentry. */ take_dentry_name_snapshot(&name, real); - this = lookup_one_len(name.name, connected, strlen(name.name)); + this = lookup_one_len(name.name.name, connected, name.name.len); err = PTR_ERR(this); if (IS_ERR(this)) { goto fail; |