Re: [PATCH] vfs: namei operations should pass nameidata when available

From: Christoph Hellwig
Date: Mon Mar 28 2005 - 15:18:17 EST


> + dentry = __lookup_hash(&nd->last, nd->dentry, nd);

Please add a tiny wrapper lookup_hash_nd(struct nameidata *nd)
that expands to the above instead of opencoding it everywhere.

Or just call it lookup_hash() after you removed the original version..
-
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/