Skip to content
Snippets Groups Projects
Commit c4b3c133 authored by Liao Chen's avatar Liao Chen Committed by Damien Le Moal
Browse files

zonefs: add support for FS_IOC_GETFSSYSFSPATH


FS_IOC_GETFSSYSFSPATH ioctl expects sysfs sub-path of a filesystem, the
format can be "$FSTYP/$SYSFS_IDENTIFIER" under /sys/fs, it can helps to
standardizes exporting sysfs datas across filesystems.

This patch wires up FS_IOC_GETFSSYSFSPATH for zonefs, it will output
"zonefs/<dev>".

Signed-off-by: default avatarLiao Chen <liaochen4@huawei.com>
Signed-off-by: default avatarDamien Le Moal <dlemoal@kernel.org>
parent 47ac09b9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment