aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorZhi Yong Wu <wuzhy@linux.vnet.ibm.com>2013-08-11 23:14:54 -0400
committerBen Myers <bpm@sgi.com>2013-08-20 16:36:28 -0400
commit02bb4873db4394d6320aca85996353b4f6ba9ac9 (patch)
tree3cd654ea2cac2ce6ad345ba1f1eeb44c48f593f7 /fs
parenta97f4df7b5c0bac497deb6135c9d94810c8f771f (diff)
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>
Diffstat (limited to 'fs')
-rw-r--r--fs/xfs/xfs_bmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_bmap.c b/fs/xfs/xfs_bmap.c
index 04a3f41265b1..92b830901d60 100644
--- a/fs/xfs/xfs_bmap.c
+++ b/fs/xfs/xfs_bmap.c
@@ -1550,7 +1550,7 @@ xfs_bmap_first_unused(
1550} 1550}
1551 1551
1552/* 1552/*
1553 * Returns the file-relative block number of the last block + 1 before 1553 * Returns the file-relative block number of the last block - 1 before
1554 * last_block (input value) in the file. 1554 * last_block (input value) in the file.
1555 * This is not based on i_size, it is based on the extent records. 1555 * This is not based on i_size, it is based on the extent records.
1556 * Returns 0 for local files, as they do not have extent records. 1556 * Returns 0 for local files, as they do not have extent records.