diff options
author | kib <kib@FreeBSD.org> | 2008-08-28 09:19:50 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2008-08-28 09:19:50 +0000 |
commit | 8ccd4bd3a18f0d73c17c7096b561febf5d6f93d8 (patch) | |
tree | db8640622e3c52b26ebefb4423a8434f37ff751c /sys/kern/kern_linker.c | |
parent | 2a5baa49d2b2d537072a458d7e86c120a59acc67 (diff) | |
download | FreeBSD-src-8ccd4bd3a18f0d73c17c7096b561febf5d6f93d8.zip FreeBSD-src-8ccd4bd3a18f0d73c17c7096b561febf5d6f93d8.tar.gz |
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
Diffstat (limited to 'sys/kern/kern_linker.c')
0 files changed, 0 insertions, 0 deletions