xfs
[Top] [All Lists]

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

To: xfs@xxxxxxxxxxx
Subject: [PATCH 03/12] xfs: fix the comment of xfs_btree_lookup()
From: zwu.kernel@xxxxxxxxx
Date: Wed, 7 Aug 2013 18:11:00 +0800
Cc: Zhi Yong Wu <wuzhy@xxxxxxxxxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1375870269-13157-1-git-send-email-zwu.kernel@xxxxxxxxx>
References: <1375870269-13157-1-git-send-email-zwu.kernel@xxxxxxxxx>
From: Zhi Yong Wu <wuzhy@xxxxxxxxxxxxxxxxxx>

Signed-off-by: Zhi Yong Wu <wuzhy@xxxxxxxxxxxxxxxxxx>
---
 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

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