summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/transaction.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-02-02 17:41:02 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-02-02 17:41:02 +0100
commit178cf7de6f1d3b95407f5a76af249fc924d42576 (patch)
tree4b3e5f3ef6dfa7866fb30811acdc60832a055269 /fs/btrfs/transaction.c
parentMerge tag 'iio-for-3.20b' of git://git.kernel.org/pub/scm/linux/kernel/git/ji... (diff)
parentLinux 3.19-rc7 (diff)
downloadlinux-178cf7de6f1d3b95407f5a76af249fc924d42576.tar.xz
linux-178cf7de6f1d3b95407f5a76af249fc924d42576.zip
Merge 3.19-rc7 into staging-next
We want those fixes in here for testing. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/btrfs/transaction.c')
-rw-r--r--fs/btrfs/transaction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c
index a605d4e2f2bc..e88b59d13439 100644
--- a/fs/btrfs/transaction.c
+++ b/fs/btrfs/transaction.c
@@ -2118,7 +2118,7 @@ void btrfs_apply_pending_changes(struct btrfs_fs_info *fs_info)
unsigned long prev;
unsigned long bit;
- prev = cmpxchg(&fs_info->pending_changes, 0, 0);
+ prev = xchg(&fs_info->pending_changes, 0);
if (!prev)
return;