Subject: VNON when error? (ufs_vnops.c rev.1.74)
To: None <tech-kern@netbsd.org>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 12/26/2002 23:01:44
hi.
since ufs_vnops.c rev.1.74,
new vnode type is set to VNON in the error case of ufs_makeinode.
anyone knows why it's needed? (and who it isn't needed for ufs_mkdir?)
it makes lfs unhappy.
(VNON vnode with VDIROP will never reclaimed)
can i revert this?
thanks,
YAMAMOTO Takashi
> revision 1.74
> date: 2000/10/19 10:55:35; author: pk; state: Exp; lines: +2 -1
> In ufs_makeinode(), set the new vnode type to VNON before calling vput().