mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
ovl: cleanup d_real for negative
d_real() is never called with a negative dentry. So remove the d_is_negative() check (which would never trigger anyway, since d_is_reg() returns false for a negative dentry). Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
This commit is contained in:
parent
4edb83bb10
commit
191a3980c6
1 changed files with 0 additions and 3 deletions
|
@ -81,9 +81,6 @@ static struct dentry *ovl_d_real(struct dentry *dentry,
|
|||
goto bug;
|
||||
}
|
||||
|
||||
if (d_is_negative(dentry))
|
||||
return dentry;
|
||||
|
||||
if (open_flags) {
|
||||
err = ovl_open_maybe_copy_up(dentry, open_flags);
|
||||
if (err)
|
||||
|
|
Loading…
Add table
Reference in a new issue