]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: new helper btrfs_bio_clone_partial
authorLiu Bo <bo.li.liu@oracle.com>
Tue, 16 May 2017 00:43:31 +0000 (17:43 -0700)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Jun 2017 16:25:58 +0000 (18:25 +0200)
commit722c0c3647898028debb41a1eab58d592be9fe35
treeb7f6b66a9fc9f20b1d6eb3d1aa855c3103b23a75
parent35517a4854126a81973ee6f0e2ceb553c89f67d1
Btrfs: new helper btrfs_bio_clone_partial

This adds a new helper btrfs_bio_clone_partial, it'll allocate a cloned
bio that only owns a part of the original bio's data.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h