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

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

From: Steve French <hidden>
Date: 2011-08-05 15:01:47
Also in: linux-cifs

On Fri, Aug 5, 2011 at 9:54 AM, Al Viro [off-list ref] wrote:
On Fri, Aug 05, 2011 at 09:02:40AM -0400, Jeff Layton wrote:
quoted
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...
Probably safer to go through my tree, reduce chance of merge conflict
Was planning on sending a merge request up soon in any case.



-- 
Thanks,

Steve
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help