Source-Changes archive

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

Re: CVS commit: src/sys/miscfs



hi,

> Module Name:  src
> Committed By: wrstuden
> Date:         Wed Jun 16 17:59:53 UTC 2004
> 
> Modified Files:
>       src/sys/miscfs/genfs: layer_vnops.c
>       src/sys/miscfs/umapfs: umap_vnops.c
> 
> Log Message:
> Make sure we actually locked the parent vnode before we clear
> PDIRUNLOCK. The whole reason we have the flag is to note (rare)
> cases where we are supposed to have the parent directory locked
> but don't. Permits error handling code to know what to do with
> the parrent vnode (vrele() vs vput()).

how can vn_lock(LK_EXCLUSIVE | LK_RETRY) fail in this case?

YAMAMOTO Takashi



Home | Main Index | Thread Index | Old Index