From: Zhang Zhen Date: Mon, 12 May 2014 13:57:59 +0000 (-0400) Subject: ext4: avoid unneeded lookup when xattr name is invalid X-Git-Tag: omap-for-v3.16/fixes-against-rc1~88^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=230b8c1a7b388ac5e06549a7dbe083568875804e;p=pandora-kernel.git ext4: avoid unneeded lookup when xattr name is invalid In ext4_xattr_set_handle() we have checked the xattr name's length. So we should also check it in ext4_xattr_get() to avoid unneeded lookup caused by invalid name. Signed-off-by: Zhang Zhen Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed