diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-10-12 17:18:56 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@google.com> | 2017-09-25 14:27:55 -0700 |
commit | c1286ff41c2f610df0cc853e78819ca67a48ffe2 (patch) | |
tree | a10dd3c4ab8fe655ac5a734a5c52b9811bbc747f /fs/f2fs/hash.c | |
parent | 650b6a5c418563f2a6cb4f12b3402a5b4870eea8 (diff) |
f2fs: backport from (4c1fad64 - Merge tag 'for-f2fs-4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs)
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/hash.c')
-rw-r--r-- | fs/f2fs/hash.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/f2fs/hash.c b/fs/f2fs/hash.c index b238d2fec3e5..71b7206c431e 100644 --- a/fs/f2fs/hash.c +++ b/fs/f2fs/hash.c @@ -70,8 +70,7 @@ static void str2hashbuf(const unsigned char *msg, size_t len, *buf++ = pad; } -f2fs_hash_t f2fs_dentry_hash(const struct qstr *name_info, - struct f2fs_filename *fname) +f2fs_hash_t f2fs_dentry_hash(const struct qstr *name_info) { __u32 hash; f2fs_hash_t f2fs_hash; @@ -80,10 +79,6 @@ f2fs_hash_t f2fs_dentry_hash(const struct qstr *name_info, const unsigned char *name = name_info->name; size_t len = name_info->len; - /* encrypted bigname case */ - if (fname && !fname->disk_name.name) - return cpu_to_le32(fname->hash); - if (is_dot_dotdot(name_info)) return 0; |