diff options
author | Davidlohr Bueso <dave@stgolabs.net> | 2020-10-21 13:17:24 -0700 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-10-27 15:11:51 +0100 |
commit | d5c8238849e7bae6063dfc16c08ed62cee7ee688 (patch) | |
tree | 1d309412441c1c86e3b2cfb0a6ce65c88b406135 /fs/ceph/super.c | |
parent | 0425e7badbdcb6e47109bfdfe494d86217e29009 (diff) | |
download | linux-d5c8238849e7bae6063dfc16c08ed62cee7ee688.tar.bz2 |
btrfs: convert data_seqcount to seqcount_mutex_t
By doing so we can associate the sequence counter to the chunk_mutex
for lockdep purposes (compiled-out otherwise), the mutex is otherwise
used on the write side.
Also avoid explicitly disabling preemption around the write region as it
will now be done automatically by the seqcount machinery based on the
lock type.
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/ceph/super.c')
0 files changed, 0 insertions, 0 deletions