[PATCH 1/8] quota: Allow to pass mount path to quotactl
Christoph Hellwig
hch at infradead.org
Tue Jan 26 08:34:06 EST 2021
On Tue, Jan 26, 2021 at 02:17:52PM +0100, Jan Kara wrote:
> Well, I don't think that "wait until unfrozen" is that strange e.g. for
> Q_SETQUOTA - it behaves like setxattr() or any other filesystem
> modification operation. And IMO it is desirable that filesystem freezing is
> transparent for operations like these. For stuff like Q_QUOTAON, I agree
> that returning EBUSY makes sense but then I'm not convinced it's really
> simpler or more useful behavior...
If we want it to behave like other syscalls we'll just need to throw in
a mnt_want_write/mnt_drop_write pair. Than it behaves exactly like other
syscalls.
More information about the linux-mtd
mailing list