projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
reiserfs: avoid a -Wmaybe-uninitialized warning
[linux-2.6-microblaze.git]
/
fs
/
reiserfs
/
lbalance.c
diff --git
a/fs/reiserfs/lbalance.c
b/fs/reiserfs/lbalance.c
index
249594a
..
f5cebd7
100644
(file)
--- a/
fs/reiserfs/lbalance.c
+++ b/
fs/reiserfs/lbalance.c
@@
-475,7
+475,7
@@
static void leaf_item_bottle(struct buffer_info *dest_bi,
* 'cpy_bytes'; create new item header;
* n_ih = new item_header;
*/
- memcpy(&n_ih
, ih, SHORT_
KEY_SIZE);
+ memcpy(&n_ih
.ih_key, &ih->ih_key,
KEY_SIZE);
/* Endian safe, both le */
n_ih.ih_version = ih->ih_version;