summaryrefslogtreecommitdiff
path: root/fs/btrfs/async-thread.c
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2022-01-13 17:16:18 +0200
committerDavid Sterba <dsterba@suse.com>2022-03-14 13:13:47 +0100
commitdb5df254120004471e1c957957ab2f1e612dcbd6 (patch)
tree528accc6316e3555ea2e79609ddef8bff574e22c /fs/btrfs/async-thread.c
parent5c07c53f2d273bda075cacf3d5e41a59cf634462 (diff)
downloadlinux-db5df254120004471e1c957957ab2f1e612dcbd6.tar.gz
linux-db5df254120004471e1c957957ab2f1e612dcbd6.tar.bz2
linux-db5df254120004471e1c957957ab2f1e612dcbd6.zip
btrfs: move QUOTA_ENABLED check to rescan_should_stop from btrfs_qgroup_rescan_worker
Instead of having 2 places that short circuit the qgroup leaf scan have everything in the qgroup_rescan_leaf function. In addition to that, also ensure that the inconsistent qgroup flag is set when rescan_should_stop returns true. This both retains the old behavior when -EINTR was set in the body of the loop and at the same time also extends this behavior when scanning is interrupted due to remount or unmount operations. Signed-off-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions