Browse Source

xfs: fix the comment of xfs_bmap_last_before()

Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Zhi Yong Wu 12 years ago
parent
commit
02bb4873db
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fs/xfs/xfs_bmap.c

+ 1 - 1
fs/xfs/xfs_bmap.c

@@ -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.