diff options
author | Jan Kara <jack@suse.cz> | 2023-07-25 17:45:06 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-08-09 10:15:39 +0300 |
commit | 86be6b8bd834bece87e6adc5313cb41e1ba7fe81 (patch) | |
tree | b40e2bf16ba26dbfaead671ec27653d7ae5c030a /drivers/target/sbp/sbp_target.h | |
parent | 71480663b751de1bdfafaa2f668ceabaea78b68b (diff) | |
download | linux-86be6b8bd834bece87e6adc5313cb41e1ba7fe81.tar.xz |
quota: Check presence of quota operation structures instead of ->quota_read and ->quota_write callbacks
Currently we check whether superblock has ->quota_read and ->quota_write
operations to check whether filesystem supports quotas. However for
example for shmfs we will not read or write dquots so check whether
quota operations are set in the superblock instead.
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Message-Id: <20230725144510.253763-4-cem@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'drivers/target/sbp/sbp_target.h')
0 files changed, 0 insertions, 0 deletions