summaryrefslogtreecommitdiffstats
path: root/fs/affs/dir.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2017-05-05 20:51:42 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2017-05-05 15:24:52 -0400
commitc6184028a75cf63036267089741ec7ef975ebc27 (patch)
treeff5f7ff224da467a6bd497ba058eac5020e03981 /fs/affs/dir.c
parentdeccf497d804a4c5fca2dbfad2f104675a6f9102 (diff)
downloadlinux-c6184028a75cf63036267089741ec7ef975ebc27.tar.bz2
fs/affs: add rename2 to prepare multiple methods
Currently AFFS only supports RENAME_NOREPLACE. This patch isolates that method to a static function to prepare RENAME_EXCHANGE addition. Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/affs/dir.c')
-rw-r--r--fs/affs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/affs/dir.c b/fs/affs/dir.c
index f1e7294381c5..591ecd7f3063 100644
--- a/fs/affs/dir.c
+++ b/fs/affs/dir.c
@@ -35,7 +35,7 @@ const struct inode_operations affs_dir_inode_operations = {
.symlink = affs_symlink,
.mkdir = affs_mkdir,
.rmdir = affs_rmdir,
- .rename = affs_rename,
+ .rename = affs_rename2,
.setattr = affs_notify_change,
};