From: Theodore Ts'o Date: Thu, 20 Feb 2014 01:15:21 +0000 (-0500) Subject: ext4: don't calculate total xattr header size unless needed X-Git-Tag: v3.15-rc1~91^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b1b2c1b9c397dcb86293ae79aa7fb7c5446120f;p=pandora-kernel.git ext4: don't calculate total xattr header size unless needed The function ext4_expand_extra_isize_ea() doesn't need the size of all of the extended attribute headers. So if we don't calculate it when it is unneeded, it we can skip some undeeded memory references, and as a bonus, we eliminate some kvetching by static code analysis tools. Addresses-Coverity-Id: #741291 Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed