Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/kern



> Module Name:  src
> Committed By: dholland
> Date:         Tue Aug  9 23:46:05 UTC 2011
> 
> Modified Files:
>       src/sys/kern: vfs_lookup.c
> 
> Log Message:
> Fail namei immediately if searchdir is unlinked / has been rmdir'd.
> Do this by checking if v_size == 0. Should fix PR 44658 (and PR 32661).

why is this necessary?  can't we just let VOP_LOOKUP fail?

the v_size == 0 check sounds wrong.  does it work for eg. nfs?

YAMAMOTO Takashi

> 
> 
> To generate a diff of this commit:
> cvs rdiff -u -r1.186 -r1.187 src/sys/kern/vfs_lookup.c
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.


Home | Main Index | Thread Index | Old Index