mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-04-13 09:59:31 +00:00
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>
This commit is contained in:
parent
c240c87bcd
commit
cc260b66c4
1 changed files with 1 additions and 0 deletions
|
@ -4481,6 +4481,7 @@ try_onemore:
|
|||
sb->s_flags = (sb->s_flags & ~SB_POSIXACL) |
|
||||
(test_opt(sbi, POSIX_ACL) ? SB_POSIXACL : 0);
|
||||
super_set_uuid(sb, (void *) raw_super->uuid, sizeof(raw_super->uuid));
|
||||
super_set_sysfs_name_bdev(sb);
|
||||
sb->s_iflags |= SB_I_CGROUPWB;
|
||||
|
||||
/* init f2fs-specific super block info */
|
||||
|
|
Loading…
Add table
Reference in a new issue