[PATCH 03/12] xfs: fix the comment of xfs_bmap_last_before()
zwu.kernel at gmail.com
zwu.kernel at gmail.com
Sun Aug 11 22:14:54 CDT 2013
From: Zhi Yong Wu <wuzhy at linux.vnet.ibm.com>
Signed-off-by: Zhi Yong Wu <wuzhy at linux.vnet.ibm.com>
---
fs/xfs/xfs_bmap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/xfs/xfs_bmap.c b/fs/xfs/xfs_bmap.c
index b8a0537..0a838a3 100644
--- a/fs/xfs/xfs_bmap.c
+++ b/fs/xfs/xfs_bmap.c
@@ -1815,7 +1815,7 @@ xfs_bmap_first_unused(
}
/*
- * Returns the file-relative block number of the last block + 1 before
+ * Returns the file-relative block number of the last block - 1 before
* last_block (input value) in the file.
* This is not based on i_size, it is based on the extent records.
* Returns 0 for local files, as they do not have extent records.
--
1.7.11.7
More information about the xfs
mailing list