diff options
author | Theodore Ts'o <tytso@mit.edu> | 2014-02-20 02:15:21 +0100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2014-02-20 02:15:21 +0100 |
commit | 7b1b2c1b9c397dcb86293ae79aa7fb7c5446120f (patch) | |
tree | bc988ef69f77ffc55c94a88ae3f5f1a0f78df053 /fs/adfs/dir_f.c | |
parent | ext4: add ext4_es_store_pblock_status() (diff) | |
download | linux-7b1b2c1b9c397dcb86293ae79aa7fb7c5446120f.tar.xz linux-7b1b2c1b9c397dcb86293ae79aa7fb7c5446120f.zip |
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" <tytso@mit.edu>
Diffstat (limited to 'fs/adfs/dir_f.c')
0 files changed, 0 insertions, 0 deletions