aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/commit.c
diff options
context:
space:
mode:
authorQu Wenruo <[email protected]>2015-01-20 09:05:33 +0000
committerChris Mason <[email protected]>2015-01-21 01:19:40 +0000
commit6c9fe14f9d64cc12401a825a60ec5c5723496ca4 (patch)
tree903739c5be570df4074584df413b10eaf917b536 /fs/ubifs/commit.c
parentbtrfs: fix state->private cast on 32 bit machines (diff)
downloadkernel-6c9fe14f9d64cc12401a825a60ec5c5723496ca4.tar.gz
kernel-6c9fe14f9d64cc12401a825a60ec5c5723496ca4.zip
btrfs: Fix the bug that fs_info->pending_changes is never cleared.
Fs_info->pending_changes is never cleared since the original code uses cmpxchg(&fs_info->pending_changes, 0, 0), which will only clear it if pending_changes is already 0. This will cause a lot of problem when mount it with inode_cache mount option. If the btrfs is mounted as inode_cache, pending_changes will always be 1, even when the fs is frozen. Signed-off-by: Qu Wenruo <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]> Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions