Subject: CVS commit: src/sys/fs/tmpfs
To: None <source-changes@NetBSD.org>
From: Julio M. Merino Vidal <jmmv@netbsd.org>
List: source-changes
Date: 09/23/2005 14:27:55
Module Name: src
Committed By: jmmv
Date: Fri Sep 23 14:27:55 UTC 2005
Modified Files:
src/sys/fs/tmpfs: tmpfs_vnops.c
Log Message:
Lock the source directory during the rename operation so that we are safe
to modify it (I hope this is the correct way to go). Avoids triggering an
assertion in the tmpfs_dir_detach function, shown by the t_rename
regression test.
To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 src/sys/fs/tmpfs/tmpfs_vnops.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.