Re: [PATCH] fs: fat: add ioctl to modify fat filesystem volume label

2017-12-20 Thread OGAWA Hirofumi
Chen Guanqiao writes: > The FAT filesystem volume label can be read with FAT_IOCTL_GET_VOLUME_LABEL > and written with FAT_IOCTL_SET_VOLUME_LABEL. Those vol_label should be matching with volume label in root directory, right? So I think handling only boot sector's vol_label would not work as exp

[PATCH] fs: fat: add ioctl to modify fat filesystem volume label

2017-12-20 Thread Chen Guanqiao
The FAT filesystem volume label can be read with FAT_IOCTL_GET_VOLUME_LABEL and written with FAT_IOCTL_SET_VOLUME_LABEL. Signed-off-by: Chen Guanqiao --- fs/fat/fat.h | 1 + fs/fat/file.c | 51 +++ fs/fat/inode.c