aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fat/fat.h
diff options
context:
space:
mode:
authorCruz Julian Bishop <cruzjbishop@gmail.com>2012-10-04 20:14:52 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-10-05 14:05:10 -0400
commit4a3aeb13b774a941823b58715eb4144acedae92a (patch)
tree9820d8217903d230b492f008c40e6994514ed223 /fs/fat/fat.h
parentd5a4a3867f64c6f9664a2ec4b23316fd9cb9fe7a (diff)
fs/fat: chang indentation of some comments in fat.h
The comments were not lined up properly, so I just re-indented them. This also fixes a stupid checkpatch issue unknowingly Signed-off-by: Cruz Julian Bishop <cruzjbishop@gmail.com> Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/fat/fat.h')
-rw-r--r--fs/fat/fat.h72
1 files changed, 36 insertions, 36 deletions
diff --git a/fs/fat/fat.h b/fs/fat/fat.h
index 95cb776e497a..ca7e8f8bad7c 100644
--- a/fs/fat/fat.h
+++ b/fs/fat/fat.h
@@ -28,27 +28,27 @@ struct fat_mount_options {
28 kgid_t fs_gid; 28 kgid_t fs_gid;
29 unsigned short fs_fmask; 29 unsigned short fs_fmask;
30 unsigned short fs_dmask; 30 unsigned short fs_dmask;
31 unsigned short codepage; /* Codepage for shortname conversions */ 31 unsigned short codepage; /* Codepage for shortname conversions */
32 char *iocharset; /* Charset used for filename input/display */ 32 char *iocharset; /* Charset used for filename input/display */
33 unsigned short shortname; /* flags for shortname display/create rule */ 33 unsigned short shortname; /* flags for shortname display/create rule */
34 unsigned char name_check; /* r = relaxed, n = normal, s = strict */ 34 unsigned char name_check; /* r = relaxed, n = normal, s = strict */
35 unsigned char errors; /* On error: continue, panic, remount-ro */ 35 unsigned char errors; /* On error: continue, panic, remount-ro */
36 unsigned short allow_utime;/* permission for setting the [am]time */ 36 unsigned short allow_utime;/* permission for setting the [am]time */
37 unsigned quiet:1, /* set = fake successful chmods and chowns */ 37 unsigned quiet:1, /* set = fake successful chmods and chowns */
38 showexec:1, /* set = only set x bit for com/exe/bat */ 38 showexec:1, /* set = only set x bit for com/exe/bat */
39 sys_immutable:1, /* set = system files are immutable */ 39 sys_immutable:1, /* set = system files are immutable */
40 dotsOK:1, /* set = hidden and system files are named '.filename' */ 40 dotsOK:1, /* set = hidden and system files are named '.filename' */
41 isvfat:1, /* 0=no vfat long filename support, 1=vfat support */ 41 isvfat:1, /* 0=no vfat long filename support, 1=vfat support */
42 utf8:1, /* Use of UTF-8 character set (Default) */ 42 utf8:1, /* Use of UTF-8 character set (Default) */
43 unicode_xlate:1, /* create escape sequences for unhandled Unicode */ 43 unicode_xlate:1, /* create escape sequences for unhandled Unicode */
44 numtail:1, /* Does first alias have a numeric '~1' type tail? */ 44 numtail:1, /* Does first alias have a numeric '~1' type tail? */
45 flush:1, /* write things quickly */ 45 flush:1, /* write things quickly */
46 nocase:1, /* Does this need case conversion? 0=need case conversion*/ 46 nocase:1, /* Does this need case conversion? 0=need case conversion*/
47 usefree:1, /* Use free_clusters for FAT32 */ 47 usefree:1, /* Use free_clusters for FAT32 */
48 tz_utc:1, /* Filesystem timestamps are in UTC */ 48 tz_utc:1, /* Filesystem timestamps are in UTC */
49 rodir:1, /* allow ATTR_RO for directory */ 49 rodir:1, /* allow ATTR_RO for directory */
50 discard:1, /* Issue discard requests on deletions */ 50 discard:1, /* Issue discard requests on deletions */
51 nfs:1; /* Do extra work needed for NFS export */ 51 nfs:1; /* Do extra work needed for NFS export */
52}; 52};
53 53
54#define FAT_HASH_BITS 8 54#define FAT_HASH_BITS 8
@@ -58,28 +58,28 @@ struct fat_mount_options {
58 * MS-DOS file system in-core superblock data 58 * MS-DOS file system in-core superblock data
59 */ 59 */
60struct msdos_sb_info { 60struct msdos_sb_info {
61 unsigned short sec_per_clus; /* sectors/cluster */ 61 unsigned short sec_per_clus; /* sectors/cluster */
62 unsigned short cluster_bits; /* log2(cluster_size) */ 62 unsigned short cluster_bits; /* log2(cluster_size) */
63 unsigned int cluster_size; /* cluster size */ 63 unsigned int cluster_size; /* cluster size */
64 unsigned char fats, fat_bits; /* number of FATs, FAT bits (12 or 16) */ 64 unsigned char fats, fat_bits; /* number of FATs, FAT bits (12 or 16) */
65 unsigned short fat_start; 65 unsigned short fat_start;
66 unsigned long fat_length; /* FAT start & length (sec.) */ 66 unsigned long fat_length; /* FAT start & length (sec.) */
67 unsigned long dir_start; 67 unsigned long dir_start;
68 unsigned short dir_entries; /* root dir start & entries */ 68 unsigned short dir_entries; /* root dir start & entries */
69 unsigned long data_start; /* first data sector */ 69 unsigned long data_start; /* first data sector */
70 unsigned long max_cluster; /* maximum cluster number */ 70 unsigned long max_cluster; /* maximum cluster number */
71 unsigned long root_cluster; /* first cluster of the root directory */ 71 unsigned long root_cluster; /* first cluster of the root directory */
72 unsigned long fsinfo_sector; /* sector number of FAT32 fsinfo */ 72 unsigned long fsinfo_sector; /* sector number of FAT32 fsinfo */
73 struct mutex fat_lock; 73 struct mutex fat_lock;
74 unsigned int prev_free; /* previously allocated cluster number */ 74 unsigned int prev_free; /* previously allocated cluster number */
75 unsigned int free_clusters; /* -1 if undefined */ 75 unsigned int free_clusters; /* -1 if undefined */
76 unsigned int free_clus_valid; /* is free_clusters valid? */ 76 unsigned int free_clus_valid; /* is free_clusters valid? */
77 struct fat_mount_options options; 77 struct fat_mount_options options;
78 struct nls_table *nls_disk; /* Codepage used on disk */ 78 struct nls_table *nls_disk; /* Codepage used on disk */
79 struct nls_table *nls_io; /* Charset used for input and display */ 79 struct nls_table *nls_io; /* Charset used for input and display */
80 const void *dir_ops; /* Opaque; default directory operations */ 80 const void *dir_ops; /* Opaque; default directory operations */
81 int dir_per_block; /* dir entries per block */ 81 int dir_per_block; /* dir entries per block */
82 int dir_per_block_bits; /* log2(dir_per_block) */ 82 int dir_per_block_bits; /* log2(dir_per_block) */
83 83
84 int fatent_shift; 84 int fatent_shift;
85 struct fatent_operations *fatent_ops; 85 struct fatent_operations *fatent_ops;