diff options
Diffstat (limited to 'fs/zonefs/super.c')
-rw-r--r-- | fs/zonefs/super.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/zonefs/super.c b/fs/zonefs/super.c index a46fd023ec..b6e8e7c962 100644 --- a/fs/zonefs/super.c +++ b/fs/zonefs/super.c @@ -757,8 +757,6 @@ static struct dentry *zonefs_lookup(struct inode *dir, struct dentry *dentry, inode = zonefs_get_dir_inode(dir, dentry); else inode = zonefs_get_file_inode(dir, dentry); - if (IS_ERR(inode)) - return ERR_CAST(inode); return d_splice_alias(inode, dentry); } |