summaryrefslogtreecommitdiffstats
path: root/fs/affs/affs.h
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/affs.h
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/affs.h')
-rw-r--r--fs/affs/affs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/affs/affs.h b/fs/affs/affs.h
index ba26a316f46e..773749be8290 100644
--- a/fs/affs/affs.h
+++ b/fs/affs/affs.h
@@ -173,7 +173,7 @@ extern int affs_link(struct dentry *olddentry, struct inode *dir,
struct dentry *dentry);
extern int affs_symlink(struct inode *dir, struct dentry *dentry,
const char *symname);
-extern int affs_rename(struct inode *old_dir, struct dentry *old_dentry,
+extern int affs_rename2(struct inode *old_dir, struct dentry *old_dentry,
struct inode *new_dir, struct dentry *new_dentry,
unsigned int flags);