Skip to contentSkip to conversation

fat: fix stale comment for msdos_rename

PATCH New Zheng Lv 1 participant 1 message Oct 2, 2017

Subsystems (2)
lore
Share & tools
lore

Zheng Lv

author
#0 lore raw

PATCH 1/1 fat: fix stale comment for msdos_rename

msdos_rename is no longer a wrapper for rename_same_dir & rename_diff_dir. The code was refactored long ago.

Cc OGAWA Hirofumi <[email protected]>
Cc Jiri Kosina <[email protected]>
---
 fs/fat/namei_msdos.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/fat/namei_msdos.c +1 -1
index 7d6a105d601..4b06595c144 100644
@@ -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)
Signature · 1 line
2.14.2