Fix L_CREATE and L_UNLINK across mountpoints
commite4e546bcd7dedf4ee33e6dac0dae55e428c78cc8
authorJakub Jermar <jakub@jermar.eu>
Wed, 22 Mar 2017 19:26:21 +0000 (22 20:26 +0100)
committerJakub Jermar <jakub@jermar.eu>
Wed, 22 Mar 2017 19:26:21 +0000 (22 20:26 +0100)
tree2da6cc35f112ec66c7f0e740554a325de3a7dbf2
parentc990ee69dc4e5007aa8d9fe493622ebd36134640
Fix L_CREATE and L_UNLINK across mountpoints

Server-side mountpoints broke linking of the first name and unlinking of
the last name of a file across mountpoints. In order to do the expected
thing, both operations need to be split into a mere lookup phase to
locate the parent of the added/removed name, and a link/unlink phase
that adds/removes the name to/from the parent node.
uspace/srv/vfs/vfs_lookup.c