Commit 1fa7603
committed
btrfs: qgroup: update rescan message levels and error codes
On filesystems without enabled quotas there's still a warning message in
the logs when rescan is called. In that case it's not a problem that
should be reported, rescan can be called unconditionally. Change the
error code to ENOTCONN which is used for 'quotas not enabled' elsewhere.
Remove message (also a warning) when rescan is called during an ongoing
rescan, this brings no useful information and the error code is
sufficient.
Change message levels to debug for now, they can be removed eventually.
CC: [email protected] # 6.6+
Reviewed-by: Boris Burkov <[email protected]>
Signed-off-by: David Sterba <[email protected]>1 parent 0e39c9e commit 1fa7603
1 file changed
+5
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3820 | 3820 | | |
3821 | 3821 | | |
3822 | 3822 | | |
3823 | | - | |
| 3823 | + | |
3824 | 3824 | | |
3825 | 3825 | | |
3826 | 3826 | | |
3827 | 3827 | | |
3828 | | - | |
| 3828 | + | |
3829 | 3829 | | |
3830 | | - | |
| 3830 | + | |
3831 | 3831 | | |
3832 | 3832 | | |
3833 | 3833 | | |
| |||
3838 | 3838 | | |
3839 | 3839 | | |
3840 | 3840 | | |
3841 | | - | |
3842 | | - | |
3843 | 3841 | | |
3844 | 3842 | | |
3845 | 3843 | | |
3846 | | - | |
| 3844 | + | |
3847 | 3845 | | |
3848 | | - | |
| 3846 | + | |
3849 | 3847 | | |
3850 | 3848 | | |
3851 | 3849 | | |
| |||
0 commit comments