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, 13 Jan 2009 02:32:26 +0000 (21:32 -0500)
commit724c1e7b9a7015e57ae71bbbe4f9a9ee4ed7a988
treee8c42f0486c7d68bbf0b25a3bb28e31cc40acab5
parent57743cdcddecca03ea243e58c4537db5fa0d436b
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