Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/fs/tmpfs




To: source-changes%NetBSD.org@localhost

Subject: CVS commit: src/sys/fs/tmpfs

From: "David A. Holland" <dholland%netbsd.org@localhost>

Date: Fri, 26 Aug 2016 21:44:24 +0000


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.






Prev by Date: CVS commit: src/sys/netinet6

Next by Date: CVS commit: src/sys/netinet6

Previous by Thread: CVS commit: src/sys/netinet6

Next by Thread: CVS commit: src/sys/netinet6

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index