Thread (1 message) 1 message, 1 author, 2011-08-05

Re: [PATCH] cifs: cope with negative dentries in cifs_get_root

From: Al Viro <hidden>
Date: 2011-08-05 14:54:29
Also in: linux-cifs

On Fri, Aug 05, 2011 at 09:02:40AM -0400, Jeff Layton wrote:
The loop around lookup_one_len doesn't handle the case where it might
return a negative dentry, which can cause an oops on the next pass
through the loop. Check for that and break out of the loop with an
error of -ENOENT if there is one.
Ouch.  Nice catch and that one is my damn fault.  Do you want that one
to go through cifs or vfs tree?  ACK, in any case...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help