ovl: cleanup unused var in rename2
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
This commit is contained in:
Родитель
56656e960b
Коммит
6986c012fa
|
@ -719,7 +719,6 @@ static int ovl_rename2(struct inode *olddir, struct dentry *old,
|
||||||
struct dentry *trap;
|
struct dentry *trap;
|
||||||
bool old_opaque;
|
bool old_opaque;
|
||||||
bool new_opaque;
|
bool new_opaque;
|
||||||
bool new_create = false;
|
|
||||||
bool cleanup_whiteout = false;
|
bool cleanup_whiteout = false;
|
||||||
bool overwrite = !(flags & RENAME_EXCHANGE);
|
bool overwrite = !(flags & RENAME_EXCHANGE);
|
||||||
bool is_dir = d_is_dir(old);
|
bool is_dir = d_is_dir(old);
|
||||||
|
@ -872,7 +871,6 @@ static int ovl_rename2(struct inode *olddir, struct dentry *old,
|
||||||
goto out_dput;
|
goto out_dput;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
new_create = true;
|
|
||||||
if (!d_is_negative(newdentry) &&
|
if (!d_is_negative(newdentry) &&
|
||||||
(!new_opaque || !ovl_is_whiteout(newdentry)))
|
(!new_opaque || !ovl_is_whiteout(newdentry)))
|
||||||
goto out_dput;
|
goto out_dput;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче