Unionfs: xattr copyup fixes
authorErez_Zadok <ezk@cs.sunysb.edu>
Tue, 31 Jul 2007 07:53:47 +0000 (03:53 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Fri, 22 Nov 2013 23:53:44 +0000 (18:53 -0500)
commitf73d3afa5ed5c4e3e85df2163bc937833aade2e9
treecd2cf5c7a18ae82922fbc90598eff5114ce327d7
parent88180a807b7b0522628b5bcbceac7780e547dd14
Unionfs: xattr copyup fixes

Rewrote xattr copyup code more cleanly; documented it better; eliminate one
possible leak in error path; and ignore another impossible copyup-time error
which caused fanout invariant violations under memory-pressure conditions.

Don't use vmalloc when allocating xattr buffers, as the VFS no longer does
so (just use kmalloc).  Eliminate unionfs_xattr_free which is now just plain
kfree.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/copyup.c
fs/unionfs/union.h
fs/unionfs/xattr.c