]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/reiserfs/lbalance.c
Merge branch 'work.iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[mirror_ubuntu-artful-kernel.git] / fs / reiserfs / lbalance.c
index 249594a821e0a5e8c60d96c7cad0cd841fccd70b..f5cebd70d9038571a69ab24ef25af0d4779c600f 100644 (file)
@@ -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;