[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: "Todd C. Miller" <millert_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Tue, 1 Feb 2000 21:59:11 -0700 (MST)
- Reply-to: "Todd C. Miller" <millert_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
CVSROOT: /cvs
Module name: src
Changes by: millert_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2000/02/01 21:59:09
Modified files:
sys/nfs : nfs_vnops.c
Log message:
o Don't call nfs_sillyrename() form nfs_remove if v_type == VDIR
(from FreeBSD). This avoids the panic described below.
o In nfs_sillyrename(), change a panic if v_type == VDIR to just
a printf (ifdef DIAGNOSTIC) and return EINVAL.
o When building the .nfs file in nfs_sillyrename() don't assume a pid
is only 4 chars long since PID_MAX is 5 chars and use sprintf()
instead of converting the pid to ascii by hand.
Thanks to Theo for assistance and sanity checking.
Visit your host, monkey.org