Module Name: src Committed By: dholland Date: Fri Aug 26 21:44:24 UTC 2016
Modified Files: src/sys/fs/tmpfs: tmpfs_vfsops.c Log Message: In the event that loading the root vnode fails, bail out of tmpfs_mount instead of crashing. Came up in PR 51436, where kmem issues caused internal allocations to wrongly fail. However, that could happen for real sometime (e.g. probably if you tried to mount a new tmpfs when the system was very low on memory, or possibly for other reasons entirely) and crashing isn't the ticket. (This is not a fix for PR 51436) To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68 src/sys/fs/tmpfs/tmpfs_vfsops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.