]> www.infradead.org Git - users/jedix/linux-maple.git/commit
nilfs2: add support for FS_IOC_GETFSSYSFSPATH
authorRyusuke Konishi <konishi.ryusuke@gmail.com>
Thu, 15 Aug 2024 07:44:06 +0000 (16:44 +0900)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 2 Sep 2024 03:43:34 +0000 (20:43 -0700)
commit8d1dba2e7cc74381087ae8ef03673abee758fcd0
tree20ac911e6d7f243f8026f81ef55056cbb3e60e84
parentef851d44a83ed625ec22eae6bd36a1348c8af571
nilfs2: add support for FS_IOC_GETFSSYSFSPATH

Use the standard helper super_set_sysfs_name_bdev() to give the sysfs
subpath of the filesystem for the FS_IOC_GETFSSYSFSPATH ioctl.

For nilfs2, it will output "nilfs2/<dev>".

Link: https://lkml.kernel.org/r/20240815074408.5550-3-konishi.ryusuke@gmail.com
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/nilfs2/super.c