Files
minix/servers/vfs
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
..
2012-09-17 11:01:45 +00:00
2012-02-13 16:53:21 +00:00
2012-09-17 11:01:45 +00:00
2012-09-17 11:01:45 +00:00
2012-09-17 11:01:45 +00:00
2012-09-17 11:01:45 +00:00
2012-04-13 12:50:38 +00:00
2012-04-13 12:50:38 +00:00
2012-07-16 14:00:56 +02:00
2012-02-13 16:53:21 +00:00
2012-04-27 08:49:38 +00:00
2012-02-13 16:53:21 +00:00
2012-11-14 13:24:53 +00:00
2012-02-13 16:53:21 +00:00
2012-02-13 16:53:21 +00:00
2012-04-27 08:51:13 +00:00
2012-04-27 08:49:38 +00:00
2012-09-28 14:57:34 +02:00
2012-02-13 16:53:21 +00:00
2012-02-13 16:53:21 +00:00
2012-09-17 11:01:45 +00:00
2012-04-27 08:50:49 +00:00
2012-07-15 22:30:15 +02:00
2012-09-17 11:01:45 +00:00
2012-04-13 12:50:38 +00:00
2012-02-13 16:53:21 +00:00
2012-04-13 12:50:38 +00:00
2012-02-13 16:53:21 +00:00
2012-04-27 08:49:38 +00:00
2012-04-27 08:49:38 +00:00
2012-09-17 11:01:45 +00:00
2012-03-25 21:58:14 +02:00