diff options
author | Dave Chinner <dchinner@redhat.com> | 2013-05-21 08:02:05 (GMT) |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-05-23 22:52:07 (GMT) |
commit | 8517de2a81da830f5d90da66b4799f4040c76dc9 (patch) | |
tree | 7d21555f5c33cfc942443eed9e6459ddd7bbdfb3 /firmware/qlogic | |
parent | 6863ef8449f1908c19f43db572e4474f24a1e9da (diff) | |
download | linux-8517de2a81da830f5d90da66b4799f4040c76dc9.tar.xz |
xfs: fully initialise temp leaf in xfs_attr3_leaf_unbalance
xfs_attr3_leaf_unbalance() uses a temporary buffer for recombining
the entries in two leaves when the destination leaf requires
compaction. The temporary buffer ends up being copied back over the
original destination buffer, so the header in the temporary buffer
needs to contain all the information that is in the destination
buffer.
To make sure the temporary buffer is fully initialised, once we've
set up the temporary incore header appropriately, write is back to
the temporary buffer before starting to move entries around.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'firmware/qlogic')
0 files changed, 0 insertions, 0 deletions