ovl: allow zero size xattr

[ Upstream commit 97daf8b97a ]

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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
This commit is contained in:
Miklos Szeredi 2015-11-10 17:08:41 +01:00 • committed by Sasha Levin
commit c000201d0b