kib 2008-08-28 09:19:50 UTC
FreeBSD src repository
Modified files:
sys/ufs/ffs ffs_alloc.c
Log:
SVN rev 182366 on 2008-08-28 09:19:50Z by kib
In ffs_valloc(), ffs_vget() may fail because insmntque() refused to
insert new vnode into the mount vnode list. Then, for the SU-enabled
mount, ffs_vfree could create freefile dependency. This dependency can
hang around forever since inode is not marked as IN_MODIFIED and
correspondingly inodeblock may be not marked as dirty.
After ffs_vget() fails, retry with FFSV_FORCEINSMQ, mark the inode as
modified, and vput() it immediately. Take care of the dup alloc.
Tested by: pho
Reviewed by: tegge
MFC after: 1 month
Revision Changes Path
1.150 +11 -1 src/sys/ufs/ffs/ffs_alloc.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"