Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
6986c012
Commit
6986c012
authored
Mar 21, 2016
by
Miklos Szeredi
Committed by
Miklos Szeredi
Mar 21, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ovl: cleanup unused var in rename2
Signed-off-by:
Miklos Szeredi
<
mszeredi@redhat.com
>
parent
56656e96
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
fs/overlayfs/dir.c
fs/overlayfs/dir.c
+0
-2
No files found.
fs/overlayfs/dir.c
View file @
6986c012
...
...
@@ -719,7 +719,6 @@ static int ovl_rename2(struct inode *olddir, struct dentry *old,
struct
dentry
*
trap
;
bool
old_opaque
;
bool
new_opaque
;
bool
new_create
=
false
;
bool
cleanup_whiteout
=
false
;
bool
overwrite
=
!
(
flags
&
RENAME_EXCHANGE
);
bool
is_dir
=
d_is_dir
(
old
);
...
...
@@ -872,7 +871,6 @@ static int ovl_rename2(struct inode *olddir, struct dentry *old,
goto
out_dput
;
}
}
else
{
new_create
=
true
;
if
(
!
d_is_negative
(
newdentry
)
&&
(
!
new_opaque
||
!
ovl_is_whiteout
(
newdentry
)))
goto
out_dput
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment