stable/btrfs: fix backport bug in d819d97ea025 ("btrfs: honor path->skip_locking...
authorStanislaw Gruszka <sgruszka@redhat.com>
Mon, 8 Jul 2019 12:01:34 +0000 (14:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Jul 2019 07:54:43 +0000 (09:54 +0200)
commitc875ac0a4339fb80e7c030b387c6be8c62e0f239
treee895654f6d920a480132884f3b898a1f0a206ef3
parent93ca6e2019f22098cac5a22b5042b096e1e3d506
stable/btrfs: fix backport bug in d819d97ea025 ("btrfs: honor path->skip_locking in backref code")

Upstream commit 38e3eebff643 ("btrfs: honor path->skip_locking in
backref code") was incorrectly backported to 4.14.y . It misses removal
of two lines from original commit, what cause deadlock.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=203993
Reported-by: Olivier Mazouffre <olivier.mazouffre@ims-bordeaux.fr>
Fixes: d819d97ea025 ("btrfs: honor path->skip_locking in backref code")
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/btrfs/backref.c