public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xfs: fix the comment of function xfs_buf_free_maps
@ 2020-10-31  7:55 Fengfei Xi
  2020-10-31  8:38 ` Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: Fengfei Xi @ 2020-10-31  7:55 UTC (permalink / raw)
  To: darrick.wong; +Cc: linux-xfs, linux-kernel, Fengfei Xi

Fix the inappropriate comment to help people to understad the code

Signed-off-by: Fengfei Xi <fengfei_xi@126.com>
---
 fs/xfs/xfs_buf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/xfs/xfs_buf.c b/fs/xfs/xfs_buf.c
index 4e4cf91..f8bf00b 100644
--- a/fs/xfs/xfs_buf.c
+++ b/fs/xfs/xfs_buf.c
@@ -198,7 +198,7 @@
 }
 
 /*
- *	Frees b_pages if it was allocated.
+ *	Frees b_maps if it was allocated.
  */
 static void
 xfs_buf_free_maps(
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] xfs: fix the comment of function xfs_buf_free_maps
  2020-10-31  7:55 [PATCH] xfs: fix the comment of function xfs_buf_free_maps Fengfei Xi
@ 2020-10-31  8:38 ` Christoph Hellwig
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2020-10-31  8:38 UTC (permalink / raw)
  To: Fengfei Xi; +Cc: darrick.wong, linux-xfs, linux-kernel

On Sat, Oct 31, 2020 at 03:55:15PM +0800, Fengfei Xi wrote:
> Fix the inappropriate comment to help people to understad the code
> 
> Signed-off-by: Fengfei Xi <fengfei_xi@126.com>

I think we can just drop the comment entirely as it isn't very useful
to start with.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-31  8:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-31  7:55 [PATCH] xfs: fix the comment of function xfs_buf_free_maps Fengfei Xi
2020-10-31  8:38 ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox