2015-02-18 19:16:32

by Alexander Kuleshov

[permalink] [raw]
Subject: [PATCH] fat/fs: comment fix, fat_bits can be also 32

Signed-off-by: Alexander Kuleshov <[email protected]>
---
fs/fat/fat.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/fat/fat.h b/fs/fat/fat.h
index 64e295e..7b7435b 100644
--- a/fs/fat/fat.h
+++ b/fs/fat/fat.h
@@ -66,7 +66,7 @@ struct msdos_sb_info {
unsigned short sec_per_clus; /* sectors/cluster */
unsigned short cluster_bits; /* log2(cluster_size) */
unsigned int cluster_size; /* cluster size */
- unsigned char fats, fat_bits; /* number of FATs, FAT bits (12 or 16) */
+ unsigned char fats, fat_bits; /* number of FATs, FAT bits (12,16 or 32) */
unsigned short fat_start;
unsigned long fat_length; /* FAT start & length (sec.) */
unsigned long dir_start;
--
2.3.0.80.g18d0fec


2015-02-18 19:18:47

by Alexander Kuleshov

[permalink] [raw]
Subject: [PATCH v2] fs/fat: comment fix, fat_bits can be also 32

Signed-off-by: Alexander Kuleshov <[email protected]>
---
fs/fat/fat.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/fat/fat.h b/fs/fat/fat.h
index 64e295e..7b7435b 100644
--- a/fs/fat/fat.h
+++ b/fs/fat/fat.h
@@ -66,7 +66,7 @@ struct msdos_sb_info {
unsigned short sec_per_clus; /* sectors/cluster */
unsigned short cluster_bits; /* log2(cluster_size) */
unsigned int cluster_size; /* cluster size */
- unsigned char fats, fat_bits; /* number of FATs, FAT bits (12 or 16) */
+ unsigned char fats, fat_bits; /* number of FATs, FAT bits (12,16 or 32) */
unsigned short fat_start;
unsigned long fat_length; /* FAT start & length (sec.) */
unsigned long dir_start;
--
2.3.0.80.g18d0fec

2015-02-18 19:27:36

by OGAWA Hirofumi

[permalink] [raw]
Subject: Re: [PATCH v2] fs/fat: comment fix, fat_bits can be also 32

Alexander Kuleshov <[email protected]> writes:

Acked-by: OGAWA Hirofumi <[email protected]>

> Signed-off-by: Alexander Kuleshov <[email protected]>
> ---
> fs/fat/fat.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/fat/fat.h b/fs/fat/fat.h
> index 64e295e..7b7435b 100644
> --- a/fs/fat/fat.h
> +++ b/fs/fat/fat.h
> @@ -66,7 +66,7 @@ struct msdos_sb_info {
> unsigned short sec_per_clus; /* sectors/cluster */
> unsigned short cluster_bits; /* log2(cluster_size) */
> unsigned int cluster_size; /* cluster size */
> - unsigned char fats, fat_bits; /* number of FATs, FAT bits (12 or 16) */
> + unsigned char fats, fat_bits; /* number of FATs, FAT bits (12,16 or 32) */
> unsigned short fat_start;
> unsigned long fat_length; /* FAT start & length (sec.) */
> unsigned long dir_start;

--
OGAWA Hirofumi <[email protected]>