aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorNikolay Borisov <[email protected]>2022-01-13 17:16:18 +0200
committerDavid Sterba <[email protected]>2022-03-14 13:13:47 +0100
commitdb5df254120004471e1c957957ab2f1e612dcbd6 (patch)
tree528accc6316e3555ea2e79609ddef8bff574e22c /lib/memory-notifier-error-inject.c
parent5c07c53f2d273bda075cacf3d5e41a59cf634462 (diff)
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 <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions