Re: [PATCH v5 1/2] fs: fat: Add fat filesystem partition volume label in local structure

2017-12-27 Thread OGAWA Hirofumi
ChenGuanqiao writes: > +static int fat_get_volume_label_entry(struct inode *dir, loff_t *pos, > +struct buffer_head **bh, > +struct msdos_dir_entry **de) > +{ > + while (fat_get_entry(dir, pos, bh, de) >= 0) > + if (((*de)->a

[PATCH v5 1/2] fs: fat: Add fat filesystem partition volume label in local structure

2017-12-27 Thread ChenGuanqiao
1. Read volume label whe the fat system driver load. 2. Add interface to scan volume label entry. Signed-off-by: ChenGuanqiao --- fs/fat/dir.c | 29 + fs/fat/fat.h | 2 ++ fs/fat/inode.c| 15 --- include/u