ovl: allow zero size xattr

commit 97daf8b97a upstream.

When ovl_copy_xattr() encountered a zero size xattr no more xattrs were
copied and the function returned success.  This is clearly not the desired
behavior.

Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Miklos Szeredi 2015-11-10 17:08:41 +01:00 • committed by Greg Kroah-Hartman
commit 85a7ed329a