public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] fs: fat: add ioctl to modify fat filesystem partion volume label
@ 2017-12-23  8:25 Chen Guanqiao
  2017-12-23  8:25 ` [PATCH v3 1/2] fs: fat: add fat filesystem partition volume label in local structure Chen Guanqiao
  2017-12-23  8:25 ` [PATCH v3 2/2] fs: fat: add ioctl method in fat filesystem driver Chen Guanqiao
  0 siblings, 2 replies; 4+ messages in thread
From: Chen Guanqiao @ 2017-12-23  8:25 UTC (permalink / raw)
  To: hirofumi; +Cc: linux-kernel, Chen Guanqiao

The FAT filesystem partition volume label can be read with
FAT_IOCTL_GET_VOLUME_LABEL and written with FAT_IOCTL_SET_VOLUME_LABEL.

v3:
1. write volume label both boot sector and root directory.

v2:
1. add filesystem version check.
2. add diretory permissions check.
3. add volume label string check.
4. fixed part of return value.
5. fixed some indent issue.
6. remove sync_dirty_buffer().

Chen Guanqiao (2):
  fs: fat: add fat filesystem partition volume label in local structure
  fs: fat: add ioctl method in fat filesystem driver

 fs/fat/fat.h                  |   1 +
 fs/fat/file.c                 | 116 ++++++++++++++++++++++++++++++++++++++++++
 fs/fat/inode.c                |  15 ++++--
 include/uapi/linux/msdos_fs.h |   2 +
 4 files changed, 131 insertions(+), 3 deletions(-)

--
2.15.1

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-12-23 10:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-23  8:25 [PATCH v3 0/2] fs: fat: add ioctl to modify fat filesystem partion volume label Chen Guanqiao
2017-12-23  8:25 ` [PATCH v3 1/2] fs: fat: add fat filesystem partition volume label in local structure Chen Guanqiao
2017-12-23  8:25 ` [PATCH v3 2/2] fs: fat: add ioctl method in fat filesystem driver Chen Guanqiao
2017-12-23 10:23   ` OGAWA Hirofumi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox