[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210525161925.GF4112@quack2.suse.cz>
Date: Tue, 25 May 2021 18:19:25 +0200
From: Jan Kara <jack@...e.cz>
To: Christoph Hellwig <hch@...radead.org>
Cc: Sascha Hauer <s.hauer@...gutronix.de>, Jan Kara <jack@...e.cz>,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-api@...r.kernel.org, kernel@...gutronix.de,
Jan Kara <jack@...e.com>, Richard Weinberger <richard@....at>,
Al Viro <viro@...iv.linux.org.uk>,
Christian Brauner <christian.brauner@...ntu.com>
Subject: Re: [PATCH v3 0/2] quota: Add mountpath based quota support
On Tue 25-05-21 09:05:50, Christoph Hellwig wrote:
> Adding the dfd argument should be as simple as this patch (which also
> moves the cmd argument later to match typical calling conventions).
>
> It might be worth to rename the syscall to quotactlat to better match
> other syscalls. A flags argument doesn't make much sense here, as the
> cmd argument can be used for extensions and is properly checked for
> unknown values.
Thanks for the patch! So I was actually thinking about going to completely
fd-based syscall like ioctl(2) and then we don't have to worry about lookup
flags or paths at all. What do people thing about attached patch?
Honza
--
Jan Kara <jack@...e.com>
SUSE Labs, CR
View attachment "0001-quota-Change-quotactl_path-systcall-to-an-fd-based-o.patch" of type "text/x-patch" (3348 bytes)
Powered by blists - more mailing lists