lkml.org 
[lkml]   [2018]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v7 1/3] fs: fat: Add fat filesystem partition volume label in local structure
Date
ChenGuanqiao <chen.chenchacha@foxmail.com> writes:

> Signed-off-by: ChenGuanqiao <chen.chenchacha@foxmail.com>
> ---
> fs/fat/fat.h | 6 ++++++
> fs/fat/inode.c | 15 ++++++++++++---
> include/uapi/linux/msdos_fs.h | 2 ++
> 3 files changed, 20 insertions(+), 3 deletions(-)
>
> diff --git a/fs/fat/fat.h b/fs/fat/fat.h
> index 8fc1093da47d..96f631282c71 100644
> --- a/fs/fat/fat.h
> +++ b/fs/fat/fat.h
> @@ -86,6 +86,7 @@ struct msdos_sb_info {
> int dir_per_block; /* dir entries per block */
> int dir_per_block_bits; /* log2(dir_per_block) */
> unsigned int vol_id; /*volume ID*/
> + char vol_label[11]; /*volume label*/

In latter patches doesn't use this cache. Why do we cache, or why read
ioctl doesn't use this cache?
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>

\
 
 \ /
  Last update: 2018-01-14 23:27    [W:2.081 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site