From: Steve French Date: Wed, 26 Mar 2014 00:46:36 +0000 (-0500) Subject: Return correct error on query of xattr on file with empty xattrs X-Git-Tag: omap-for-v3.16/pm-signed~77^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60977fcc808664f82412bb37da7be17640ba99d9;p=pandora-kernel.git Return correct error on query of xattr on file with empty xattrs xfstest 020 detected a problem with cifs xattr handling. When a file had an empty xattr list, we returned success (with an empty xattr value) on query of particular xattrs rather than returning ENODATA. This patch fixes it so that query of an xattr returns ENODATA when the xattr list is empty for the file. Signed-off-by: Steve French Reviewed-by: Jeff Layton --- Reading git-diff-tree failed