Commit 4a4d10c
committed
btrfs: qgroup: warn about inconsistent qgroups when relation update fails
Calling btrfs_handle_fs_error() after btrfs_run_qgroups() fails to
update the qgroup status is probably not necessary, this would turn the
filesystem to read-only. For the same reason aborting the transaction is
also not a good option.
The state is left inconsistent and can be fixed by rescan, printing a
warning should be sufficient. Return code reflects the status of
adding/deleting the relation and if the transaction was ended properly.
Reviewed-by: Qu Wenruo <[email protected]>
Signed-off-by: David Sterba <[email protected]>1 parent 0760bb9 commit 4a4d10c
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3880 | 3880 | | |
3881 | 3881 | | |
3882 | 3882 | | |
3883 | | - | |
3884 | | - | |
| 3883 | + | |
| 3884 | + | |
| 3885 | + | |
3885 | 3886 | | |
3886 | 3887 | | |
3887 | 3888 | | |
| |||
0 commit comments