Source-Changes archive

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

Re: CVS commit: src/sys



On Fri, Dec 23, 2005 at 03:31:40PM +0000, YAMAMOTO Takashi wrote:
> 
> Module Name:  src
> Committed By: yamt
> Date:         Fri Dec 23 15:31:40 UTC 2005
> 
> Modified Files:
>       src/sys/kern: vfs_subr.c
>       src/sys/sys: vnode.h
>       src/sys/ufs/ffs: ffs_alloc.c
>       src/sys/ufs/ufs: ufs_inode.c
> 
> Log Message:
> prevent in-core vnode being freed from getting new references.
> otherwise, once the corresponding bit in the inode bitmap is cleared,
> an unrelated inode with the same inode number can be allocated and
> ufs_ihashget() picks a stale in-core vnode for it.

One thing I noted in this change is that vget() will now call 
VOP_INACTIVE() on vnodes that were never activated. Will this cause issues 
with other file systems?

Take care,

Bill

Attachment: pgpWJZSB9nX1Z.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index