f2fs: remove rename and use rename2
authorJaegeuk Kim <jaegeuk@kernel.org>
Tue, 19 Aug 2014 21:14:27 +0000 (14:14 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 21 Aug 2014 20:57:04 +0000 (13:57 -0700)
Refer the following patch.

commit 7177a9c4b509eb357cc450256bc3cf39f1a1e639
Author: Miklos Szeredi <mszeredi@suse.cz>
Date:   Wed Jul 23 15:15:30 2014 +0200

    fs: call rename2 if exists

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/namei.c

index eb407d207289666efbb51bd0617faff98cf003f2..6b53ce924d95c24a7a369e031f5a6a017f284b44 100644 (file)
@@ -704,7 +704,6 @@ const struct inode_operations f2fs_dir_inode_operations = {
        .mkdir          = f2fs_mkdir,
        .rmdir          = f2fs_rmdir,
        .mknod          = f2fs_mknod,
-       .rename         = f2fs_rename,
        .rename2        = f2fs_rename2,
        .tmpfile        = f2fs_tmpfile,
        .getattr        = f2fs_getattr,