diff options
author | Cruz Julian Bishop <cruzjbishop@gmail.com> | 2012-10-04 20:14:49 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-05 14:05:10 -0400 |
commit | d5a4a3867f64c6f9664a2ec4b23316fd9cb9fe7a (patch) | |
tree | 92d955f560d369d70aeaf7ccda9bb013252acb0d /fs | |
parent | 85cb9bf535a3f0aac1725541bf5d74363d3e5a65 (diff) |
fs/fat: fix some checkpatch issues in fat.h
Mainly fix spacing issues such as "foo * bar" and "foo= bar"
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')
-rw-r--r-- | fs/fat/fat.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/fat/fat.h b/fs/fat/fat.h index ec54c3a7f2f7..95cb776e497a 100644 --- a/fs/fat/fat.h +++ b/fs/fat/fat.h | |||
@@ -61,7 +61,7 @@ struct 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; |
@@ -328,7 +328,7 @@ extern long fat_generic_ioctl(struct file *filp, unsigned int cmd, | |||
328 | unsigned long arg); | 328 | unsigned long arg); |
329 | extern const struct file_operations fat_file_operations; | 329 | extern const struct file_operations fat_file_operations; |
330 | extern const struct inode_operations fat_file_inode_operations; | 330 | extern const struct inode_operations fat_file_inode_operations; |
331 | extern int fat_setattr(struct dentry * dentry, struct iattr * attr); | 331 | extern int fat_setattr(struct dentry *dentry, struct iattr *attr); |
332 | extern void fat_truncate_blocks(struct inode *inode, loff_t offset); | 332 | extern void fat_truncate_blocks(struct inode *inode, loff_t offset); |
333 | extern int fat_getattr(struct vfsmount *mnt, struct dentry *dentry, | 333 | extern int fat_getattr(struct vfsmount *mnt, struct dentry *dentry, |
334 | struct kstat *stat); | 334 | struct kstat *stat); |
@@ -346,7 +346,7 @@ extern int fat_fill_super(struct super_block *sb, void *data, int silent, | |||
346 | int isvfat, void (*setup)(struct super_block *)); | 346 | int isvfat, void (*setup)(struct super_block *)); |
347 | 347 | ||
348 | extern int fat_flush_inodes(struct super_block *sb, struct inode *i1, | 348 | extern int fat_flush_inodes(struct super_block *sb, struct inode *i1, |
349 | struct inode *i2); | 349 | struct inode *i2); |
350 | static inline unsigned long fat_dir_hash(int logstart) | 350 | static inline unsigned long fat_dir_hash(int logstart) |
351 | { | 351 | { |
352 | return hash_32(logstart, FAT_HASH_BITS); | 352 | return hash_32(logstart, FAT_HASH_BITS); |