You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
fuse: readdirplus: cleanup
Niels noted that we don't need the 'dentry = NULL' line. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> CC: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
+1
-3
@@ -1263,7 +1263,6 @@ static int fuse_direntplus_link(struct file *file,
|
||||
goto found;
|
||||
}
|
||||
dput(dentry);
|
||||
dentry = NULL;
|
||||
}
|
||||
|
||||
dentry = d_alloc(parent, &name);
|
||||
@@ -1299,8 +1298,7 @@ found:
|
||||
|
||||
err = 0;
|
||||
out:
|
||||
if (dentry)
|
||||
dput(dentry);
|
||||
dput(dentry);
|
||||
return err;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user