Skip to contentSkip to conversation

fuse: fuse_lookup_name() cleanup

PATCH New Jeffle Xu 1 participant 1 message Jul 6, 2021

Subsystems (2)
lore
Share & tools
lore

Jeffle Xu

author
#0 lore raw

PATCH 1/1 fuse: fuse_lookup_name() cleanup

Remove unused logic since it has been checked previously.

---
 fs/fuse/dir.c | 2 --
 1 file changed, 2 deletions(-)
fs/fuse/dir.c +0 -2
index 1b6c001a7dd1..fa4d010f877a 100644
@@ -431,8 +431,6 @@ int fuse_lookup_name(struct super_block *sb, u64 nodeid, const struct qstr *name
 		goto out_put_forget;
 
 	err = -EIO;
-	if (!outarg->nodeid)
-		goto out_put_forget;
 	if (fuse_invalid_attr(&outarg->attr))
 		goto out_put_forget;
 
Signature · 1 line
2.27.0