Re: [PATCH v6 2/3] fs: fat: Add volume label entry method function

2018-01-08 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)-

[PATCH v6 2/3] fs: fat: Add volume label entry method function

2018-01-01 Thread ChenGuanqiao
Signed-off-by: ChenGuanqiao --- fs/fat/dir.c | 62 1 file changed, 62 insertions(+) diff --git a/fs/fat/dir.c b/fs/fat/dir.c index 81cecbe6d7cf..63aab656c08e 100644 --- a/fs/fat/dir.c +++ b/fs/fat/dir.c @@ -881,6 +881,68 @@ static int