Re: [RFC PATCH] overlayfs: add OVL_IOC_GETINFOFD ioctl that opens ovlinfofd

From: Randy Dunlap
Date: Mon Oct 05 2020 - 13:08:52 EST


On 10/5/20 10:02 AM, Alexander Mikhalitsyn wrote:
> #define OVL_IOC_GETLWRFHNDLSNUM _IO('o', 1)
> // DISCUSS: what if MAX_HANDLE_SZ will change?
> #define OVL_IOC_GETLWRFHNDL _IOR('o', 2, struct ovl_mnt_opt_fh)
> #define OVL_IOC_GETUPPRFHNDL _IOR('o', 3, struct ovl_mnt_opt_fh)
> #define OVL_IOC_GETWRKFHNDL _IOR('o', 4, struct ovl_mnt_opt_fh)
> +#define OVL_IOC_GETINFOFD _IO('o', 5)

Hi,

Quoting (repeating) from
https://lore.kernel.org/lkml/9cd0e9d1-f124-3f2d-86e6-e6e96a1ccb1e@xxxxxxxxxxxxx/:

This needs to have Documentation/userspace-api/ioctl/ioctl-number.rst
updated also.

...

Are you waiting until it's past RFC stage?

thanks.
--
~Randy