fat: fix stale comment for msdos_rename
diff mbox

Message ID 20171002162922.GA6724@lvzheng-thinkpad
State New
Headers show

Commit Message

Zheng Lv Oct. 2, 2017, 4:29 p.m. UTC
msdos_rename is no longer a wrapper for rename_same_dir & rename_diff_dir.
The code was refactored long ago.

Cc: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Cc: Jiri Kosina <trivial@kernel.org>
Signed-off-by: Zheng Lv <lv.zheng.2015@gmail.com>
---
 fs/fat/namei_msdos.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox

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)