xfs: fix the comment of xfs_bmap_last_before()
authorZhi Yong Wu <[email protected]>
Mon, 12 Aug 2013 03:14:54 +0000 (03:14 +0000)
committerBen Myers <[email protected]>
Tue, 20 Aug 2013 20:36:28 +0000 (15:36 -0500)
Signed-off-by: Zhi Yong Wu <[email protected]>
Reviewed-by: Mark Tinguely <[email protected]>
Signed-off-by: Ben Myers <[email protected]>
fs/xfs/xfs_bmap.c

index 04a3f41265b1a2d94d54ad2e2638eeec1e27ab48..92b830901d60bcf2b662315bb1625b2944964ddf 100644 (file)
@@ -1550,7 +1550,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.