linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fat: fix stale comment for msdos_rename
@ 2017-10-02 16:29 Zheng Lv
  0 siblings, 0 replies; only message in thread
From: Zheng Lv @ 2017-10-02 16:29 UTC (permalink / raw)
  To: linux-fsdevel

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(-)

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-10-02 16:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-02 16:29 [PATCH] fat: fix stale comment for msdos_rename Zheng Lv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).