Commit 4a3aeb13b774a941823b58715eb4144acedae92a
Committed by
Linus Torvalds
1 parent
d5a4a3867f
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>
Showing 1 changed file with 36 additions and 36 deletions Side-by-side Diff
fs/fat/fat.h
... | ... | @@ -28,27 +28,27 @@ |
28 | 28 | kgid_t fs_gid; |
29 | 29 | unsigned short fs_fmask; |
30 | 30 | unsigned short fs_dmask; |
31 | - unsigned short codepage; /* Codepage for shortname conversions */ | |
32 | - char *iocharset; /* Charset used for filename input/display */ | |
33 | - unsigned short shortname; /* flags for shortname display/create rule */ | |
34 | - unsigned char name_check; /* r = relaxed, n = normal, s = strict */ | |
35 | - unsigned char errors; /* On error: continue, panic, remount-ro */ | |
31 | + unsigned short codepage; /* Codepage for shortname conversions */ | |
32 | + char *iocharset; /* Charset used for filename input/display */ | |
33 | + unsigned short shortname; /* flags for shortname display/create rule */ | |
34 | + unsigned char name_check; /* r = relaxed, n = normal, s = strict */ | |
35 | + unsigned char errors; /* On error: continue, panic, remount-ro */ | |
36 | 36 | unsigned short allow_utime;/* permission for setting the [am]time */ |
37 | - unsigned quiet:1, /* set = fake successful chmods and chowns */ | |
38 | - showexec:1, /* set = only set x bit for com/exe/bat */ | |
39 | - sys_immutable:1, /* set = system files are immutable */ | |
40 | - dotsOK:1, /* set = hidden and system files are named '.filename' */ | |
41 | - isvfat:1, /* 0=no vfat long filename support, 1=vfat support */ | |
42 | - utf8:1, /* Use of UTF-8 character set (Default) */ | |
43 | - unicode_xlate:1, /* create escape sequences for unhandled Unicode */ | |
44 | - numtail:1, /* Does first alias have a numeric '~1' type tail? */ | |
45 | - flush:1, /* write things quickly */ | |
46 | - nocase:1, /* Does this need case conversion? 0=need case conversion*/ | |
47 | - usefree:1, /* Use free_clusters for FAT32 */ | |
48 | - tz_utc:1, /* Filesystem timestamps are in UTC */ | |
49 | - rodir:1, /* allow ATTR_RO for directory */ | |
50 | - discard:1, /* Issue discard requests on deletions */ | |
51 | - nfs:1; /* Do extra work needed for NFS export */ | |
37 | + unsigned quiet:1, /* set = fake successful chmods and chowns */ | |
38 | + showexec:1, /* set = only set x bit for com/exe/bat */ | |
39 | + sys_immutable:1, /* set = system files are immutable */ | |
40 | + dotsOK:1, /* set = hidden and system files are named '.filename' */ | |
41 | + isvfat:1, /* 0=no vfat long filename support, 1=vfat support */ | |
42 | + utf8:1, /* Use of UTF-8 character set (Default) */ | |
43 | + unicode_xlate:1, /* create escape sequences for unhandled Unicode */ | |
44 | + numtail:1, /* Does first alias have a numeric '~1' type tail? */ | |
45 | + flush:1, /* write things quickly */ | |
46 | + nocase:1, /* Does this need case conversion? 0=need case conversion*/ | |
47 | + usefree:1, /* Use free_clusters for FAT32 */ | |
48 | + tz_utc:1, /* Filesystem timestamps are in UTC */ | |
49 | + rodir:1, /* allow ATTR_RO for directory */ | |
50 | + discard:1, /* Issue discard requests on deletions */ | |
51 | + nfs:1; /* Do extra work needed for NFS export */ | |
52 | 52 | }; |
53 | 53 | |
54 | 54 | #define FAT_HASH_BITS 8 |
55 | 55 | |
56 | 56 | |
57 | 57 | |
58 | 58 | |
... | ... | @@ -58,28 +58,28 @@ |
58 | 58 | * MS-DOS file system in-core superblock data |
59 | 59 | */ |
60 | 60 | struct msdos_sb_info { |
61 | - unsigned short sec_per_clus; /* sectors/cluster */ | |
62 | - unsigned short cluster_bits; /* log2(cluster_size) */ | |
63 | - unsigned int cluster_size; /* cluster size */ | |
61 | + unsigned short sec_per_clus; /* sectors/cluster */ | |
62 | + unsigned short cluster_bits; /* log2(cluster_size) */ | |
63 | + unsigned int cluster_size; /* cluster size */ | |
64 | 64 | unsigned char fats, fat_bits; /* number of FATs, FAT bits (12 or 16) */ |
65 | 65 | unsigned short fat_start; |
66 | - unsigned long fat_length; /* FAT start & length (sec.) */ | |
66 | + unsigned long fat_length; /* FAT start & length (sec.) */ | |
67 | 67 | unsigned long dir_start; |
68 | - unsigned short dir_entries; /* root dir start & entries */ | |
69 | - unsigned long data_start; /* first data sector */ | |
70 | - unsigned long max_cluster; /* maximum cluster number */ | |
71 | - unsigned long root_cluster; /* first cluster of the root directory */ | |
72 | - unsigned long fsinfo_sector; /* sector number of FAT32 fsinfo */ | |
68 | + unsigned short dir_entries; /* root dir start & entries */ | |
69 | + unsigned long data_start; /* first data sector */ | |
70 | + unsigned long max_cluster; /* maximum cluster number */ | |
71 | + unsigned long root_cluster; /* first cluster of the root directory */ | |
72 | + unsigned long fsinfo_sector; /* sector number of FAT32 fsinfo */ | |
73 | 73 | struct mutex fat_lock; |
74 | - unsigned int prev_free; /* previously allocated cluster number */ | |
75 | - unsigned int free_clusters; /* -1 if undefined */ | |
74 | + unsigned int prev_free; /* previously allocated cluster number */ | |
75 | + unsigned int free_clusters; /* -1 if undefined */ | |
76 | 76 | unsigned int free_clus_valid; /* is free_clusters valid? */ |
77 | 77 | struct fat_mount_options options; |
78 | - struct nls_table *nls_disk; /* Codepage used on disk */ | |
79 | - struct nls_table *nls_io; /* Charset used for input and display */ | |
80 | - const void *dir_ops; /* Opaque; default directory operations */ | |
81 | - int dir_per_block; /* dir entries per block */ | |
82 | - int dir_per_block_bits; /* log2(dir_per_block) */ | |
78 | + struct nls_table *nls_disk; /* Codepage used on disk */ | |
79 | + struct nls_table *nls_io; /* Charset used for input and display */ | |
80 | + const void *dir_ops; /* Opaque; default directory operations */ | |
81 | + int dir_per_block; /* dir entries per block */ | |
82 | + int dir_per_block_bits; /* log2(dir_per_block) */ | |
83 | 83 | |
84 | 84 | int fatent_shift; |
85 | 85 | struct fatent_operations *fatent_ops; |