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
Kirill Smelkov
linux
Commits
6c02cb59
Commit
6c02cb59
authored
Dec 16, 2016
by
Miklos Szeredi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ovl: rename ovl_rename2() to ovl_rename()
Signed-off-by:
Miklos Szeredi
<
mszeredi@redhat.com
>
parent
2ea98466
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
fs/overlayfs/dir.c
fs/overlayfs/dir.c
+4
-4
No files found.
fs/overlayfs/dir.c
View file @
6c02cb59
...
@@ -777,9 +777,9 @@ static int ovl_rmdir(struct inode *dir, struct dentry *dentry)
...
@@ -777,9 +777,9 @@ static int ovl_rmdir(struct inode *dir, struct dentry *dentry)
return
ovl_do_remove
(
dentry
,
true
);
return
ovl_do_remove
(
dentry
,
true
);
}
}
static
int
ovl_rename
2
(
struct
inode
*
olddir
,
struct
dentry
*
old
,
static
int
ovl_rename
(
struct
inode
*
olddir
,
struct
dentry
*
old
,
struct
inode
*
newdir
,
struct
dentry
*
new
,
struct
inode
*
newdir
,
struct
dentry
*
new
,
unsigned
int
flags
)
unsigned
int
flags
)
{
{
int
err
;
int
err
;
enum
ovl_path_type
old_type
;
enum
ovl_path_type
old_type
;
...
@@ -1009,7 +1009,7 @@ const struct inode_operations ovl_dir_inode_operations = {
...
@@ -1009,7 +1009,7 @@ const struct inode_operations ovl_dir_inode_operations = {
.
symlink
=
ovl_symlink
,
.
symlink
=
ovl_symlink
,
.
unlink
=
ovl_unlink
,
.
unlink
=
ovl_unlink
,
.
rmdir
=
ovl_rmdir
,
.
rmdir
=
ovl_rmdir
,
.
rename
=
ovl_rename
2
,
.
rename
=
ovl_rename
,
.
link
=
ovl_link
,
.
link
=
ovl_link
,
.
setattr
=
ovl_setattr
,
.
setattr
=
ovl_setattr
,
.
create
=
ovl_create
,
.
create
=
ovl_create
,
...
...
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