Re: [PATCH v2] Btrfs-progs: check, fix return value check of is_child_root()

2014-10-16 Thread Wang Shilong
The following commit: btrfs-progs: fsck: remove unfriendly BUG_ON() for searching tree failure f495a2ac66116f0a1b15e73380c8cbca6e0a4ca0 introduced a regression, detected through xfstests/btrfs/054, where previously a negative return value (-1) was used to mean a particular root

[PATCH v2] Btrfs-progs: check, fix return value check of is_child_root()

2014-10-15 Thread Filipe Manana
The following commit: btrfs-progs: fsck: remove unfriendly BUG_ON() for searching tree failure f495a2ac66116f0a1b15e73380c8cbca6e0a4ca0 introduced a regression, detected through xfstests/btrfs/054, where previously a negative return value (-1) was used to mean a particular root didn't