• David Sterba's avatar
    btrfs: qgroup: update rescan message levels and error codes · 1fa7603d
    David Sterba authored
    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: stable@vger.kernel.org # 6.6+
    Reviewed-by: default avatarBoris Burkov <boris@bur.io>
    Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
    1fa7603d
qgroup.c 127 KB