Commit 6c02cb59 authored by Miklos Szeredi's avatar Miklos Szeredi

ovl: rename ovl_rename2() to ovl_rename()

Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
parent 2ea98466
...@@ -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_rename2(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_rename2, .rename = ovl_rename,
.link = ovl_link, .link = ovl_link,
.setattr = ovl_setattr, .setattr = ovl_setattr,
.create = ovl_create, .create = ovl_create,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment