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>
Mon, 12 Jan 2009 23:20:48 +0000 (18:20 -0500)
commitdedce53d045c2f150d06a282ae3e141b2929be40
treed7b127ea28ff93344cb8575f009b1296f528327e
parentfd1af246aedf6c753cadc2c98f8e5f485cdfca9d
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