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>
Tue, 13 Jan 2009 01:43:16 +0000 (20:43 -0500)
commitcb653303975f8618e7b94793f3a0bffa5f9aeed7
tree3763ae8d02a3ad2a62d78d0e8211d0b4f1bcee9a
parentbe3999e6c9e98ab8c9177f808ae65120fadb26d2
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