2022-07-22 19:42:36

by Xin Gao

[permalink] [raw]
Subject: [PATCH] xfs: Fix comment typo

The double `extent' is duplicated in line 837, remove one.

Signed-off-by: Xin Gao <[email protected]>
---
fs/xfs/libxfs/xfs_alloc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/xfs/libxfs/xfs_alloc.c b/fs/xfs/libxfs/xfs_alloc.c
index d3f2886fdc08..f6bd9181cb13 100644
--- a/fs/xfs/libxfs/xfs_alloc.c
+++ b/fs/xfs/libxfs/xfs_alloc.c
@@ -833,7 +833,7 @@ xfs_alloc_cur_close(
/*
* Check an extent for allocation and track the best available candidate in the
* allocation structure. The cursor is deactivated if it has entered an out of
- * range state based on allocation arguments. Optionally return the extent
+ * range state based on allocation arguments. Optionally return the
* extent geometry and allocation status if requested by the caller.
*/
static int
--
2.30.2