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

2017-12-27 Thread OGAWA Hirofumi
ChenGuanqiao writes: > +/* the characters in this field shall be d-characters, and unused byte shall > be set to 0x20. */ > +static int fat_format_d_characters(char *label, unsigned long len) > +{ > + int i; > + > + for (i=0; i +

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

2017-12-27 Thread OGAWA Hirofumi
ChenGuanqiao writes: > +/* the characters in this field shall be d-characters, and unused byte shall > be set to 0x20. */ > +static int fat_format_d_characters(char *label, unsigned long len) > +{ > + int i; > + > + for (i=0; i + switch (label[i]) { > + case '0'

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

2017-12-27 Thread ChenGuanqiao
Signed-off-by: ChenGuanqiao --- fs/fat/file.c | 116 ++ 1 file changed, 116 insertions(+) diff --git a/fs/fat/file.c b/fs/fat/file.c index 4724cc9ad650..517941c7bce4 100644 --- a/fs/fat/file.c +++

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

2017-12-27 Thread ChenGuanqiao
Signed-off-by: ChenGuanqiao --- fs/fat/file.c | 116 ++ 1 file changed, 116 insertions(+) diff --git a/fs/fat/file.c b/fs/fat/file.c index 4724cc9ad650..517941c7bce4 100644 --- a/fs/fat/file.c +++ b/fs/fat/file.c @@ -15,11 +15,35 @@