Fixes the circular locking dependency warning as in patch 1/3, and patch 2/3 adds lockdep_assert_held() to scrub_workers_get(). Patch 3/3 converts scrub_workers_refcnt into refcount_t.
Anand Jain (3): btrfs: scrub: fix circular locking dependency warning btrfs: scrub: add scrub_lock lockdep check in scrub_workers_get btrfs: scrub: convert scrub_workers_refcnt to refcount_t fs/btrfs/ctree.h | 2 +- fs/btrfs/disk-io.c | 2 +- fs/btrfs/scrub.c | 28 +++++++++++++++------------- 3 files changed, 17 insertions(+), 15 deletions(-) -- 1.8.3.1