[Linux-stable-mirror] [PATCH AUTOSEL for 4.9 18/55] btrfs: fix deadlock when writing out space cache