diff options
author | Seraphime Kirkovski <kirkseraph@gmail.com> | 2016-12-15 16:38:16 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-02-14 17:50:50 +0300 |
commit | 20c7bcec6f8fcc305f1f2a2488657836ca8be69d (patch) | |
tree | 8f4d524cb5649981af8db3165f4f7ef26fad6c95 /fs/btrfs/super.c | |
parent | 50d0446e68fa0b687bd06288cc6cc25c475ab3fb (diff) | |
download | linux-20c7bcec6f8fcc305f1f2a2488657836ca8be69d.tar.xz |
Btrfs: ACCESS_ONCE cleanup
This replaces ACCESS_ONCE macro with the corresponding
READ|WRITE macros
Signed-off-by: Seraphime Kirkovski <kirkseraph@gmail.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r-- | fs/btrfs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index b5ae7d3d1896..93ed29c2a38b 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c @@ -265,7 +265,7 @@ void __btrfs_abort_transaction(struct btrfs_trans_handle *trans, function, line, errstr); return; } - ACCESS_ONCE(trans->transaction->aborted) = errno; + WRITE_ONCE(trans->transaction->aborted, errno); /* Wake up anybody who may be waiting on this transaction */ wake_up(&fs_info->transaction_wait); wake_up(&fs_info->transaction_blocked_wait); |