Re: [PATCH v3 2/2] fs: fat: add ioctl method in fat filesystem driver

2017-12-23 Thread OGAWA Hirofumi
Chen Guanqiao writes: > +static int fat_check_volume_label(const char *label) > +{ > + int i; > + > + for (i=0; i<11; ++i) { > + switch (label[i]) { > + case 0x20: > + case 'A' ... 'Z': > + case '0' ... '9': > + continue;

[PATCH v3 2/2] fs: fat: add ioctl method in fat filesystem driver

2017-12-23 Thread Chen Guanqiao
Signed-off-by: Chen Guanqiao --- fs/fat/file.c | 116 ++ 1 file changed, 116 insertions(+) diff --git a/fs/fat/file.c b/fs/fat/file.c index 4724cc9ad650..972f9aed5b46 100644 --- a/fs/fat/file.c +++ b/fs/fat/file.c @@ -20,6 +20,25 @@ static