]> www.infradead.org Git - linux.git/commit
f2fs: add support for FS_IOC_GETFSSYSFSPATH
authorChao Yu <chao@kernel.org>
Wed, 15 May 2024 08:12:33 +0000 (16:12 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 12 Jun 2024 15:46:02 +0000 (15:46 +0000)
commitcc260b66c4cd21a370b39f73c9034a420baf8f79
tree49df9e88a709f18883e809c201471d59713c4bbf
parentc240c87bcd44a1a2375fc8ef8c645d1f1fe76466
f2fs: 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 f2fs, it will output
"f2fs/<dev>".

Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c