Re: [PATCH-next v2] erofs: add support for FS_IOC_GETFSSYSFSPATH

2024-07-16 Thread Gao Xiang
On 2024/7/16 19:29, Huang Xiaojia wrote: FS_IOC_GETFSSYSFSPATH ioctl exposes /sys/fs path of a given filesystem, potentially standarizing sysfs reporting. This patch add support for FS_IOC_GETFSSYSFSPATH for erofs, "erofs/" will be outpt for bdev

[PATCH-next v2] erofs: add support for FS_IOC_GETFSSYSFSPATH

2024-07-16 Thread Huang Xiaojia via Linux-erofs
FS_IOC_GETFSSYSFSPATH ioctl exposes /sys/fs path of a given filesystem, potentially standarizing sysfs reporting. This patch add support for FS_IOC_GETFSSYSFSPATH for erofs, "erofs/" will be outpt for bdev case, and "erofs/[domain_id,]" will be output for non-bdev case. Signed-off-by: Huang Xiaoji