aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_bmap.c
diff options
context:
space:
mode:
authorZhi Yong Wu <wuzhy@linux.vnet.ibm.com>2013-08-12 03:14:54 +0000
committerBen Myers <bpm@sgi.com>2013-08-20 15:36:28 -0500
commit02bb4873db4394d6320aca85996353b4f6ba9ac9 (patch)
tree3cd654ea2cac2ce6ad345ba1f1eeb44c48f593f7 /fs/xfs/xfs_bmap.c
parentxfs: fix the comment of xfs_bmap_validate_ret() (diff)
downloadlinux-dev-02bb4873db4394d6320aca85996353b4f6ba9ac9.tar.xz
linux-dev-02bb4873db4394d6320aca85996353b4f6ba9ac9.zip
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/xfs/xfs_bmap.c')
-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(
}
/*
- * 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.