diff mbox series

xfs: fix the comment of function xfs_buf_free_maps

Message ID 1604130915-5025-1-git-send-email-fengfei_xi@126.com (mailing list archive)
State New, archived
Headers show
Series xfs: fix the comment of function xfs_buf_free_maps | expand

Commit Message

Fengfei Xi Oct. 31, 2020, 7:55 a.m. UTC
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(-)

Comments

Christoph Hellwig Oct. 31, 2020, 8:38 a.m. UTC | #1
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.
diff mbox series

Patch

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(