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>
Fri, 12 Aug 2011 02:37:12 +0000 (22:37 -0400)
commit35d15de99ec62ef258fdf1811f29bbffd9f565c7
treeb8eb949c94d446e0bba36556b6a98d7d0f64fb99
parent325c382d75c6a8a57a7292051dfb6c70283c4379
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