]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: allow backref search checks for shared extents
authorEdmund Nadolski <enadolski@suse.com>
Wed, 12 Jul 2017 22:20:10 +0000 (16:20 -0600)
committerDavid Sterba <dsterba@suse.com>
Wed, 16 Aug 2017 14:12:01 +0000 (16:12 +0200)
commitb99868c643dd5e9b0ee08a6f8dfc349af828f058
treec273257fc19d9d170004567ca3f5c9f64b19f225
parentbeef9046b6625d76902e703558273c0c9d856b2f
btrfs: allow backref search checks for shared extents

When called with a struct share_check, find_parent_nodes()
will detect a shared extent and immediately return with
BACKREF_SHARED_FOUND.

Signed-off-by: Edmund Nadolski <enadolski@suse.com>
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/backref.c