Commit 02bb4873 authored by Zhi Yong Wu's avatar Zhi Yong Wu Committed by Ben Myers

xfs: fix the comment of xfs_bmap_last_before()

Signed-off-by: default avatarZhi Yong Wu <wuzhy@linux.vnet.ibm.com>
Reviewed-by: default avatarMark Tinguely <tinguely@sgi.com>
Signed-off-by: default avatarBen Myers <bpm@sgi.com>
parent a97f4df7
...@@ -1550,7 +1550,7 @@ xfs_bmap_first_unused( ...@@ -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. * last_block (input value) in the file.
* This is not based on i_size, it is based on the extent records. * 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. * Returns 0 for local files, as they do not have extent records.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment