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)
commit3ec4d3238ab1655ae3f696c412fb3244cd3b58de
treec273257fc19d9d170004567ca3f5c9f64b19f225
parent9dd14fd6964e6db02346d5f472f915029728b8cf
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