diff options
author | Gao Xiang <hsiangkao@linux.alibaba.com> | 2022-09-27 09:36:07 +0300 |
---|---|---|
committer | Gao Xiang <hsiangkao@linux.alibaba.com> | 2022-09-27 12:27:45 +0300 |
commit | 312fe643ad1153fe0337c46f4573030d0c2bac73 (patch) | |
tree | a266a46bc082ac920a0286d5ec83002e5272f4f5 /fs/erofs/namei.c | |
parent | 53a7f9961cddf505a9f3a7baa017e5af31838840 (diff) | |
download | linux-312fe643ad1153fe0337c46f4573030d0c2bac73.tar.xz |
erofs: clean up erofs_iget()
isdir indicated REQ_META|REQ_PRIO which no longer works now.
Get rid of isdir entirely.
Link: https://lore.kernel.org/r/20220927063607.54832-2-hsiangkao@linux.alibaba.com
Reviewed-by: Yue Hu <huyue2@coolpad.com>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'fs/erofs/namei.c')
-rw-r--r-- | fs/erofs/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/erofs/namei.c b/fs/erofs/namei.c index afbb80d4e2f1..0dc34721080c 100644 --- a/fs/erofs/namei.c +++ b/fs/erofs/namei.c @@ -219,7 +219,7 @@ static struct dentry *erofs_lookup(struct inode *dir, struct dentry *dentry, } else { erofs_dbg("%s, %pd (nid %llu) found, d_type %u", __func__, dentry, nid, d_type); - inode = erofs_iget(dir->i_sb, nid, d_type == FT_DIR); + inode = erofs_iget(dir->i_sb, nid); } return d_splice_alias(inode, dentry); } |