Thomas Veerman de83b2a9d9 VFS: change 'last_dir' to match locking assumption
new_node makes the assumption that when it does last_dir on a path, a
successive advance would not yield a lock on a vmnt, because last_dir
already locked the vmnt. This is true except when last_dir resolves
to a directory on the parent vmnt of the file that was the result of
advance. For example,
 # cd /
 # echo foo > home
where home is on a different (sub) partition than / is (default
install). last_dir would resolve to / and advance would resolve to
/home.

With this change, last_dir resolves to the root node on the /home
partition, making the assumption valid again.
2012-11-26 15:20:18 +00:00
2010-10-25 08:32:14 +00:00
2012-11-19 09:25:03 +00:00
2012-11-19 16:44:38 +01:00
2012-11-21 18:32:06 +01:00
2012-11-26 15:20:18 +00:00
2012-11-15 16:07:30 +01:00
2012-11-21 18:32:06 +01:00
2012-11-15 16:07:30 +01:00
2012-06-18 10:54:52 +00:00
2012-11-15 16:07:30 +01:00
2010-01-21 10:16:05 +00:00
Description
No description provided
201 MiB