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

zwu.kernel at gmail.com zwu.kernel at gmail.com
Wed Aug 7 05:11:00 CDT 2013


From: Zhi Yong Wu <wuzhy at linux.vnet.ibm.com>

Signed-off-by: Zhi Yong Wu <wuzhy at linux.vnet.ibm.com>
---
 fs/xfs/xfs_btree.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/xfs/xfs_btree.c b/fs/xfs/xfs_btree.c
index 0903960..1ecc041 100644
--- a/fs/xfs/xfs_btree.c
+++ b/fs/xfs/xfs_btree.c
@@ -1684,7 +1684,7 @@ xfs_lookup_get_search_key(
 
 /*
  * Lookup the record.  The cursor is made to point to it, based on dir.
- * Return 0 if can't find any such record, 1 for success.
+ * stat is set to 0 if can't find any such record, 1 for success.
  */
 int					/* error */
 xfs_btree_lookup(
-- 
1.7.11.7



More information about the xfs mailing list