Unionfs: create new symlinks only in first branch
authorErez Zadok <ezk@cs.sunysb.edu>
Tue, 18 Dec 2007 23:57:24 +0000 (18:57 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Tue, 11 Nov 2014 01:22:43 +0000 (20:22 -0500)
commitbdd2d1112deee31a61ab5652a18588a7311e9332
tree3569c86eef82bfbbe649e6f2bdf8100c8562ab6d
parentd348026beb8fe4a8d1f6b5455a6b532282969f5a
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