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>
Sat, 23 Nov 2013 01:07:48 +0000 (20:07 -0500)
commit02cb8860e45cf5ede047b72fe842d62b66b18cc1
tree86e3d9f147b00dbac36533d3df772ce7ffc4f258
parent3288adeb7c74bdcf5f4db0de27a26f89d1001a39
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