Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs

Pull two btrfs fixes from Chris Mason:
"This has two fixes that we've been testing for 3.16, but since both
are safe and fix real bugs, it makes sense to send for 3.15 instead"

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs:
Btrfs: send, fix incorrect ref access when using extrefs
Btrfs: fix EIO on reading file after ioctl clone works on it

+6 -2
+5 -1
fs/btrfs/ioctl.c
··· 3120 3120 } else if (type == BTRFS_FILE_EXTENT_INLINE) { 3121 3121 u64 skip = 0; 3122 3122 u64 trim = 0; 3123 + u64 aligned_end = 0; 3124 + 3123 3125 if (off > key.offset) { 3124 3126 skip = off - key.offset; 3125 3127 new_key.offset += skip; ··· 3138 3136 size -= skip + trim; 3139 3137 datal -= skip + trim; 3140 3138 3139 + aligned_end = ALIGN(new_key.offset + datal, 3140 + root->sectorsize); 3141 3141 ret = btrfs_drop_extents(trans, root, inode, 3142 3142 new_key.offset, 3143 - new_key.offset + datal, 3143 + aligned_end, 3144 3144 1); 3145 3145 if (ret) { 3146 3146 if (ret != -EOPNOTSUPP)
+1 -1
fs/btrfs/send.c
··· 1668 1668 goto out; 1669 1669 } 1670 1670 1671 - if (key.type == BTRFS_INODE_REF_KEY) { 1671 + if (found_key.type == BTRFS_INODE_REF_KEY) { 1672 1672 struct btrfs_inode_ref *iref; 1673 1673 iref = btrfs_item_ptr(path->nodes[0], path->slots[0], 1674 1674 struct btrfs_inode_ref);