From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f193.google.com ([209.85.192.193]:35128 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751384AbdJBQ33 (ORCPT ); Mon, 2 Oct 2017 12:29:29 -0400 Received: by mail-pf0-f193.google.com with SMTP id i23so6221817pfi.2 for ; Mon, 02 Oct 2017 09:29:29 -0700 (PDT) Received: from lvzheng-thinkpad ([138.68.10.145]) by smtp.gmail.com with ESMTPSA id m67sm17562791pfc.38.2017.10.02.09.29.25 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Oct 2017 09:29:27 -0700 (PDT) Date: Tue, 3 Oct 2017 00:29:22 +0800 From: Zheng Lv To: linux-fsdevel@vger.kernel.org Subject: [PATCH] fat: fix stale comment for msdos_rename Message-ID: <20171002162922.GA6724@lvzheng-thinkpad> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-ID: msdos_rename is no longer a wrapper for rename_same_dir & rename_diff_dir. The code was refactored long ago. Cc: OGAWA Hirofumi Cc: Jiri Kosina Signed-off-by: Zheng Lv --- 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