[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/46990 CVS commit: src/sys/fs/tmpfs
The following reply was made to PR kern/46990; it has been noted by GNATS.
From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
Subject: PR/46990 CVS commit: src/sys/fs/tmpfs
Date: Tue, 25 Sep 2012 16:11:42 +0000
Module Name: src
Committed By: riastradh
Date: Tue Sep 25 16:11:42 UTC 2012
Check tmpfs_rmdired_p after tmpfs_vnode_get when walking up the tree.
tmpfs_vnode_get drops all locks except possibly the reclaiming bit
lock to keep the tmpfs node from being reclaimed while we're still
interested in it. Consequently, it does not keep the directory's
existence invariant, so we must check that after tmpfs_vnode_get.
Fixes PR kern/46990. Tested by Wolfgang Stukenbrock.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/fs/tmpfs/tmpfs_rename.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |