summaryrefslogtreecommitdiff
path: root/fs/ceph/dir.c
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2016-09-27 12:03:58 +0300
committerMiklos Szeredi <mszeredi@redhat.com>2016-09-27 12:03:58 +0300
commit2773bf00aeb9bf39e022463272a61dd0ec9f55f4 (patch)
tree1d0cc9cf72e5ff955609e4dc43d8bcd075212ff1 /fs/ceph/dir.c
parent18fc84dafaac1fd63d5e6e600058eada8fc7914b (diff)
downloadlinux-2773bf00aeb9bf39e022463272a61dd0ec9f55f4.tar.xz
fs: rename "rename2" i_op to "rename"
Generated patch: sed -i "s/\.rename2\t/\.rename\t\t/" `git grep -wl rename2` sed -i "s/\brename2\b/rename/g" `git grep -wl rename2` Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/ceph/dir.c')
-rw-r--r--fs/ceph/dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ceph/dir.c b/fs/ceph/dir.c
index cef8252af38a..291a4d59c5f7 100644
--- a/fs/ceph/dir.c
+++ b/fs/ceph/dir.c
@@ -1502,7 +1502,7 @@ const struct inode_operations ceph_dir_iops = {
.link = ceph_link,
.unlink = ceph_unlink,
.rmdir = ceph_unlink,
- .rename2 = ceph_rename,
+ .rename = ceph_rename,
.create = ceph_create,
.atomic_open = ceph_atomic_open,
};
@@ -1513,7 +1513,7 @@ const struct inode_operations ceph_snapdir_iops = {
.getattr = ceph_getattr,
.mkdir = ceph_mkdir,
.rmdir = ceph_unlink,
- .rename2 = ceph_rename,
+ .rename = ceph_rename,
};
const struct dentry_operations ceph_dentry_ops = {