diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2021-03-04 13:35:39 +0100 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2021-03-16 12:28:22 +0100 |
commit | 9dfa23c8de925041b7b45637a1a80a98a22f19dd (patch) | |
tree | 8626111ab082053fedac5e0e7d3f82a41aa2e889 /arch | |
parent | Linux 5.12-rc3 (diff) | |
download | linux-9dfa23c8de925041b7b45637a1a80a98a22f19dd.tar.xz linux-9dfa23c8de925041b7b45637a1a80a98a22f19dd.zip |
quota: Add mountpath based quota support
Add syscall quotactl_path, a variant of quotactl which allows to specify
the mountpath instead of a path of to a block device.
The quotactl syscall expects a path to the mounted block device to
specify the filesystem to work on. This limits usage to filesystems
which actually have a block device. quotactl_path replaces the path
to the block device with a path where the filesystem is mounted at.
The global Q_SYNC command to sync all filesystems is not supported for
this new syscall, otherwise quotactl_path behaves like quotactl.
Link: https://lore.kernel.org/r/20210304123541.30749-2-s.hauer@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions