Re: [PATCH 0/2] fs: fat: add ioctl to modify fat filesystem partion volume label

From: OGAWA Hirofumi
Date: Thu Dec 21 2017 - 14:25:31 EST

Chen Guanqiao <chen.chenchacha@xxxxxxxxxxx> writes:

> The FAT filesystem partition volume label can be read with
> 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().

As I said in previous email, 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 expected.

Does this really works as expected?

E.g. suspected test case is,

1) write label on windows
2) modify label on linux
3) read modified label on windows

OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>