[linux-cifs-client] [PATCH 1/4] cifs: make cifs_lookup return a dentry
Al Viro
viro at ZenIV.linux.org.uk
Sat May 22 07:30:51 MDT 2010
On Fri, May 21, 2010 at 02:25:14PM -0400, Jeff Layton wrote:
> cifs_lookup doesn't actually return a dentry. It instantiates the one
> that's passed in, but callers don't have any way to know if the lookup
> succeeded.
Huh? Of course they do - ->lookup() has every right to do just that;
d_add() and return NULL is perfectly legitimate.
More information about the linux-cifs-client
mailing list