[Linux-stable-mirror] [PATCH 4.9 34/86] btrfs: fix deadlock when writing out space cache