xfs: fix the comment of function xfs_buf_free_maps
diff mbox series

Message ID 1604130915-5025-1-git-send-email-fengfei_xi@126.com
State New
Headers show
Series
  • xfs: fix the comment of function xfs_buf_free_maps
Related show

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.

Patch
diff mbox series

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(