commit | ff09c4ca5992b839b4e8b411f55aecd75735fc16 | [log] [tgz] |
---|---|---|
author | Anand Jain <anand.jain@oracle.com> | Wed Jan 30 14:45:02 2019 +0800 |
committer | David Sterba <dsterba@suse.com> | Mon Feb 25 14:13:38 2019 +0100 |
tree | a12824b74e38668c1d81e85eb1cfa64b19f13f40 | |
parent | eb4318e59a0d5caa636662225afeea9796b27092 [diff] |
btrfs: scrub: convert scrub_workers_refcnt to refcount_t Use the refcount_t for fs_info::scrub_workers_refcnt instead of int so we get the extra checks. All reference changes are still done under scrub_lock. Signed-off-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>