btrfs: switch extent_buffer blocking_writers from atomic to int
authorDavid Sterba <dsterba@suse.com>
Thu, 2 May 2019 14:47:23 +0000 (16:47 +0200)
committerDavid Sterba <dsterba@suse.com>
Tue, 2 Jul 2019 10:30:47 +0000 (12:30 +0200)
commit06297d8cefcaa2029c4cb71b79285d2bfff06d4d
treebbf684133e27424453c3a72fbd8b348feb3df9bd
parent38e9372e391deabf19c76c88b59b5e16f304627a
btrfs: switch extent_buffer blocking_writers from atomic to int

The blocking_writers is either 0 or 1 and always updated under the lock,
so we don't need the atomic_t semantics.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h
fs/btrfs/locking.c
fs/btrfs/print-tree.c