btrfs: switch extent_buffer spinning_writers from atomic to int
authorDavid Sterba <dsterba@suse.com>
Thu, 2 May 2019 14:51:53 +0000 (16:51 +0200)
committerDavid Sterba <dsterba@suse.com>
Tue, 2 Jul 2019 10:30:47 +0000 (12:30 +0200)
commitf3dc24c52a28c700e35757dce7b38456888071e1
treea7f9cac885813362dfdeac6dc2165e961031da71
parent06297d8cefcaa2029c4cb71b79285d2bfff06d4d
btrfs: switch extent_buffer spinning_writers from atomic to int

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

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