[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87ty1s92z3.fsf@tucsk.pomaz.szeredi.hu>
Date: Tue, 13 Mar 2012 12:04:16 +0100
From: Miklos Szeredi <miklos@...redi.hu>
To: Christoph Hellwig <hch@...radead.org>
Cc: viro@...IV.linux.org.uk, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 7/9] vfs: reorganize do_lookup
Christoph Hellwig <hch@...radead.org> writes:
>> + /*
>> + * Don't bother with __d_lookup: callers are for creat as
>> + * well as unlink, so a lot of the time it would cost
>> + * a double lookup.
>> + */
>> + dentry = d_lookup(base, name);
>
> This comment isn't true anymore now, although the actual code should
> still be fine given that we already did the __d_lookup before for
> regular lookups.
Okay.
Thanks,
Miklos
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists