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, 29 Apr 2011 02:25:32 +0000 (22:25 -0400)
commit16122f4b6d56dce1594d8d4d5739314ecd124af8
tree81c8a756b24e447db5d1f5735f09038d4f6bb5ec
parent941286aaf9694ff2d5626302e28c09e2d88f4169
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