[PATCH] trivial select_parent documentation fix

From: J. Bruce Fields
Date: Tue Sep 18 2012 - 16:35:48 EST


"Search list for X" sounds like you're trying to find X on a list.

Signed-off-by: J. Bruce Fields <bfields@xxxxxxxxxx>

---

On Mon, Sep 17, 2012 at 10:23:30PM +0200, Miklos Szeredi wrote:
> IBM reported a deadlock in select_parent().

(And I went to look at select_parent() and got tripped up for a few
moments on this comment. Arguably my reading comprehension is just
bad.)--b.

diff --git a/fs/dcache.c b/fs/dcache.c
index 8086636..a0b8d65 100644
--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -1141,7 +1141,7 @@ rename_retry:
EXPORT_SYMBOL(have_submounts);

/*
- * Search the dentry child list for the specified parent,
+ * Search the dentry child list of the specified parent,
* and move any unused dentries to the end of the unused
* list for prune_dcache(). We descend to the next level
* whenever the d_subdirs list is non-empty and continue
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/