mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
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>
This commit is contained in:
parent
85cb9bf535
commit
d5a4a3867f
1 changed files with 3 additions and 3 deletions
|
@ -61,7 +61,7 @@ struct msdos_sb_info {
|
||||||
unsigned short sec_per_clus; /* sectors/cluster */
|
unsigned short sec_per_clus; /* sectors/cluster */
|
||||||
unsigned short cluster_bits; /* log2(cluster_size) */
|
unsigned short cluster_bits; /* log2(cluster_size) */
|
||||||
unsigned int cluster_size; /* 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 or 16) */
|
||||||
unsigned short fat_start;
|
unsigned short fat_start;
|
||||||
unsigned long fat_length; /* FAT start & length (sec.) */
|
unsigned long fat_length; /* FAT start & length (sec.) */
|
||||||
unsigned long dir_start;
|
unsigned long dir_start;
|
||||||
|
@ -328,7 +328,7 @@ extern long fat_generic_ioctl(struct file *filp, unsigned int cmd,
|
||||||
unsigned long arg);
|
unsigned long arg);
|
||||||
extern const struct file_operations fat_file_operations;
|
extern const struct file_operations fat_file_operations;
|
||||||
extern const struct inode_operations fat_file_inode_operations;
|
extern const struct inode_operations fat_file_inode_operations;
|
||||||
extern int fat_setattr(struct dentry * dentry, struct iattr * attr);
|
extern int fat_setattr(struct dentry *dentry, struct iattr *attr);
|
||||||
extern void fat_truncate_blocks(struct inode *inode, loff_t offset);
|
extern void fat_truncate_blocks(struct inode *inode, loff_t offset);
|
||||||
extern int fat_getattr(struct vfsmount *mnt, struct dentry *dentry,
|
extern int fat_getattr(struct vfsmount *mnt, struct dentry *dentry,
|
||||||
struct kstat *stat);
|
struct kstat *stat);
|
||||||
|
@ -346,7 +346,7 @@ extern int fat_fill_super(struct super_block *sb, void *data, int silent,
|
||||||
int isvfat, void (*setup)(struct super_block *));
|
int isvfat, void (*setup)(struct super_block *));
|
||||||
|
|
||||||
extern int fat_flush_inodes(struct super_block *sb, struct inode *i1,
|
extern int fat_flush_inodes(struct super_block *sb, struct inode *i1,
|
||||||
struct inode *i2);
|
struct inode *i2);
|
||||||
static inline unsigned long fat_dir_hash(int logstart)
|
static inline unsigned long fat_dir_hash(int logstart)
|
||||||
{
|
{
|
||||||
return hash_32(logstart, FAT_HASH_BITS);
|
return hash_32(logstart, FAT_HASH_BITS);
|
||||||
|
|
Loading…
Reference in a new issue