DragonFly commits List (threaded) for 2012-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: tmpfs - Fix numerous races and adjust to use cache_unlink()
commit 6e0c5aabac8d345557e78062b61bd3c1ed432332
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Fri Aug 24 16:30:20 2012 -0700
tmpfs - Fix numerous races and adjust to use cache_unlink()
* Fix numerous issues when chdir'd into a directory that is then
rmdir'd.
* Rewrite the link count handling code for directories, also removing
two now unecessary recursions.
* Do not allow new files to be created in a directory which has been
rmdir'd.
* Use the new cache_unlink facility.
Summary of changes:
sys/vfs/tmpfs/tmpfs.h | 4 +-
sys/vfs/tmpfs/tmpfs_subr.c | 122 ++++++++++++++++++++++--------------------
sys/vfs/tmpfs/tmpfs_vfsops.c | 54 +++++++-----------
sys/vfs/tmpfs/tmpfs_vnops.c | 59 ++++++---------------
4 files changed, 102 insertions(+), 137 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6e0c5aabac8d345557e78062b61bd3c1ed432332
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]