xfs
[Top] [All Lists]

[PATCH 03/12] xfs: fix the comment of xfs_bmap_last_before()

To: xfs@xxxxxxxxxxx
Subject: [PATCH 03/12] xfs: fix the comment of xfs_bmap_last_before()
From: zwu.kernel@xxxxxxxxx
Date: Mon, 12 Aug 2013 11:14:54 +0800
Cc: Zhi Yong Wu <wuzhy@xxxxxxxxxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1376277303-29455-1-git-send-email-zwu.kernel@xxxxxxxxx>
References: <1376277303-29455-1-git-send-email-zwu.kernel@xxxxxxxxx>
From: Zhi Yong Wu <wuzhy@xxxxxxxxxxxxxxxxxx>

Signed-off-by: Zhi Yong Wu <wuzhy@xxxxxxxxxxxxxxxxxx>
---
 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 b8a0537..0a838a3 100644
--- a/fs/xfs/xfs_bmap.c
+++ b/fs/xfs/xfs_bmap.c
@@ -1815,7 +1815,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.
-- 
1.7.11.7

<Prev in Thread] Current Thread [Next in Thread>