Subject: CVS commit: src/sys/fs/tmpfs
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 11/02/2005 05:41:50
Module Name: src
Committed By: dyoung
Date: Wed Nov 2 05:41:50 UTC 2005
Modified Files:
src/sys/fs/tmpfs: tmpfs_specops.c
Log Message:
Bug fix: correct the sense of an if-condition in tmpfs_spec_close:
because VOP_UPDATE() usually succeeded, spec_close() was not usually
called. Only skip the spec_close() step if VOP_UPDATE() returns
an error result. Now /dev/watchdog works as expected when /dev/
is a tmpfs; previously, it was impossible to disarm a user-tickled
watchdog.
To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 src/sys/fs/tmpfs/tmpfs_specops.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.