[PATCH v4] erofs: Add support for FS_IOC_GETFSLABEL
Gao Xiang
hsiangkao at linux.alibaba.com
Tue Sep 23 12:34:23 AEST 2025
Hi Chao,
On 2025/9/23 10:23, Chao Yu wrote:
> On 9/22/25 17:29, Bo Liu wrote:
>> From: Bo Liu (OpenAnolis) <liubo03 at inspur.com>
>>
>> Add support for reading to the erofs volume label from the
>> FS_IOC_GETFSLABEL ioctls.
>>
>> Signed-off-by: Bo Liu (OpenAnolis) <liubo03 at inspur.com>
>> ---
...
>>
>> +long erofs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg);
>
> #ifdef CONFIG_COMPAT
>
>> +long erofs_compat_ioctl(struct file *filp, unsigned int cmd,
>> + unsigned long arg);
Since it's a function declaration, when CONFIG_COMPAT is not defined,
there is no user to use erofs_compat_ioctl(), so I think it is fine
to just leave the declaration here?
Thanks,
Gao Xiang
>
> #endif
>
> Thanks,
>
>> +
>
More information about the Linux-erofs
mailing list