xfs: Fix comment typo
PATCH 1/1 xfs: Fix comment typo
The double `for' is duplicated in line 3788, remove one.
Signed-off-by Xin Gao <[email protected]>
--- fs/xfs/libxfs/xfs_bmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/xfs/libxfs/xfs_bmap.c +1 -1
@@ -3785,7 +3785,7 @@ xfs_bmapi_trim_map( mval->br_startblock = got->br_startblock + (*bno - got->br_startoff);/* -* Return the minimum of what we got and what we asked for for +* Return the minimum of what we got and what we asked for * the length. We can use the len variable here because it is * modified below and we could have been there before coming * here if the first part of the allocation didn't overlap what
Signature · 1 line
2.30.2
Eric Sandeen
NAKQuoted 12 lines · Xin Gao
The double `for' is duplicated in line 3788, remove one.
Signed-off-by Xin Gao <[email protected]>--- fs/xfs/libxfs/xfs_bmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/xfs/libxfs/xfs_bmap.c +0
-0
fs/xfs/libxfs/xfs_bmap.c xfs_bmapi_trim_map( · line 3791
Quoted 8 lines
fs/xfs/libxfs/xfs_bmap.c +1
-1@@ -3785,7 +3785,7 @@ xfs_bmapi_trim_map( mval->br_startblock = got->br_startblock + (*bno - got->br_startoff);/* -* Return the minimum of what we got and what we asked for for +* Return the minimum of what we got and what we asked for * the length. We can use the len variable here because it is * modified below and we could have been there before coming * here if the first part of the allocation didn't overlap what
NAK.
The comment is correct.