msdos_rename is no longer a wrapper for rename_same_dir & rename_diff_dir. The code was refactored long ago. Cc: OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx> Cc: Jiri Kosina <trivial@xxxxxxxxxx> Signed-off-by: Zheng Lv <lv.zheng.2015@xxxxxxxxx> --- fs/fat/namei_msdos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/fat/namei_msdos.c b/fs/fat/namei_msdos.c index 7d6a105d601..4b06595c144 100644 --- a/fs/fat/namei_msdos.c +++ b/fs/fat/namei_msdos.c @@ -594,7 +594,7 @@ static int do_msdos_rename(struct inode *old_dir, unsigned char *old_name, goto out; } -/***** Rename, a wrapper for rename_same_dir & rename_diff_dir */ +/***** Rename a file */ static int msdos_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry, unsigned int flags) -- 2.14.2