Up to [local] / src / sys / nnpfs
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.4, Thu Aug 23 06:12:50 2012 UTC (11 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +0 -0 lines
FILE REMOVED
kill nnpfs dead
Revision 1.3 / (download) - annotate - [select for diffs], Thu Jun 23 21:59:53 2011 UTC (12 years, 11 months ago) by oga
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE,
OPENBSD_5_2,
OPENBSD_5_1_BASE,
OPENBSD_5_1,
OPENBSD_5_0_BASE,
OPENBSD_5_0
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)
free(null) ist verboten in the kernel. The addition of M_CANFAIL here made it possible (if rather unlikely) that we'd fail and goto done, where we would free(NULL). protect the free with a null check to prevent this. ok miod@
Revision 1.2 / (download) - annotate - [select for diffs], Fri Jun 17 07:06:47 2011 UTC (12 years, 11 months ago) by mk
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)
M_WAITOK cleanup of two cases: 1) Allocating with M_WAITOK, checking for NULL, and calling panic() is pointless (malloc() will panic if it can't allocate) so remove the check and the call. 2) Allocating with M_WAITOK, checking for NULL, and then gracefully handling failure to allocate is pointless. Instead also pass M_CANFAIL so malloc() doesn't panic so we can actually handle it gracefully. 1) was done using Coccinelle. Input from oga. ok miod.
Revision 1.1 / (download) - annotate - [select for diffs], Wed Jun 3 14:45:54 2009 UTC (15 years ago) by jj
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE,
OPENBSD_4_9,
OPENBSD_4_8_BASE,
OPENBSD_4_8,
OPENBSD_4_7_BASE,
OPENBSD_4_7,
OPENBSD_4_6_BASE,
OPENBSD_4_6
Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@