summaryrefslogtreecommitdiffstats
path: root/lib/ref_tracker.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2023-07-25 16:45:06 +0200
committerChristian Brauner <brauner@kernel.org>2023-08-09 09:15:39 +0200
commit86be6b8bd834bece87e6adc5313cb41e1ba7fe81 (patch)
treeb40e2bf16ba26dbfaead671ec27653d7ae5c030a /lib/ref_tracker.c
parent71480663b751de1bdfafaa2f668ceabaea78b68b (diff)
downloadlinux-stable-86be6b8bd834bece87e6adc5313cb41e1ba7fe81.tar.gz
linux-stable-86be6b8bd834bece87e6adc5313cb41e1ba7fe81.tar.bz2
linux-stable-86be6b8bd834bece87e6adc5313cb41e1ba7fe81.zip
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 'lib/ref_tracker.c')
0 files changed, 0 insertions, 0 deletions