Unionfs: create new symlinks only in first branch
authorErez Zadok <ezk@cs.sunysb.edu>
Tue, 25 Dec 2007 22:05:33 +0000 (17:05 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Tue, 25 Dec 2007 22:05:33 +0000 (17:05 -0500)
commit82a8a9f3c9aa10499320649600f606b03ca2eff8
tree82e2a379ebcc19bf3ab030015f2ff0fb44cb1e88
parent2a0200096521e794f5bbad8f54d8dcc6ccd8fa4b
Unionfs: create new symlinks only in first branch

When creating a new symlink, always create it in the first branch, which is
always writeable, not in the branch which may have a whiteout in it.  This
makes the policy for the creation of new symlinks consistent with that of
new files/directories, as well as improves efficiency a bit.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/inode.c