Date: Thu, 26 Aug 2010 23:33:04 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/rpc replay.c Message-ID: <201008262333.o7QNXE7O074406@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
pjd 2010-08-26 23:33:04 UTC
FreeBSD src repository
Modified files:
sys/rpc replay.c
Log:
SVN rev 211853 on 2010-08-26 23:33:04Z by pjd
- Check the result of malloc(M_NOWAIT) in replay_alloc(). The caller
(replay_alloc()) knows how to handle replay_alloc() failure.
- Eliminate 'freed_one' variable, it is not needed - when no entry is found
rce will be NULL.
- Add locking assertions where we expect a rc_lock to be held.
Reviewed by: rmacklem
MFC after: 2 weeks
Revision Changes Path
1.4 +24 -19 src/sys/rpc/replay.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008262333.o7QNXE7O074406>
