diff options
author | pjd <pjd@FreeBSD.org> | 2010-08-28 08:57:15 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2010-08-28 08:57:15 +0000 |
commit | bc73fabf276ad141999d460cfc27ecb6624741a0 (patch) | |
tree | 5216e09d1d3ceb4e2984d034b547bc157ff7fbb3 /cddl | |
parent | 9067eec20f37a2ff9fce89f7951654f5e05def9c (diff) | |
download | FreeBSD-src-bc73fabf276ad141999d460cfc27ecb6624741a0.zip FreeBSD-src-bc73fabf276ad141999d460cfc27ecb6624741a0.tar.gz |
There is a bug in vfs_allocate_syncvnode() failure handling in mount code.
Actually it is hard to properly handle such a failure, especially in MNT_UPDATE
case. The only reason for the vfs_allocate_syncvnode() function to fail is
getnewvnode() failure. Fortunately it is impossible for current implementation
of getnewvnode() to fail, so we can assert this and make
vfs_allocate_syncvnode() void. This in turn free us from handling its failures
in the mount code.
Reviewed by: kib
MFC after: 1 month
Diffstat (limited to 'cddl')
0 files changed, 0 insertions, 0 deletions