From 02bb4873db4394d6320aca85996353b4f6ba9ac9 Mon Sep 17 00:00:00 2001 From: Zhi Yong Wu Date: Mon, 12 Aug 2013 03:14:54 +0000 Subject: [PATCH] xfs: fix the comment of xfs_bmap_last_before() Signed-off-by: Zhi Yong Wu Reviewed-by: Mark Tinguely Signed-off-by: Ben Myers --- fs/xfs/xfs_bmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- GitLab