fs/fat: fix some small checkpatch issues in dir.c
Simply remove the spacing between function definitions and EXPORT_SYMBOL_GPL calls, which were previously generating warnings. 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
c90518290e
commit
3f36f6100a
|
@ -537,7 +537,6 @@ end_of_dir:
|
||||||
|
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
EXPORT_SYMBOL_GPL(fat_search_long);
|
EXPORT_SYMBOL_GPL(fat_search_long);
|
||||||
|
|
||||||
struct fat_ioctl_filldir_callback {
|
struct fat_ioctl_filldir_callback {
|
||||||
|
@ -892,7 +891,6 @@ int fat_get_dotdot_entry(struct inode *dir, struct buffer_head **bh,
|
||||||
}
|
}
|
||||||
return -ENOENT;
|
return -ENOENT;
|
||||||
}
|
}
|
||||||
|
|
||||||
EXPORT_SYMBOL_GPL(fat_get_dotdot_entry);
|
EXPORT_SYMBOL_GPL(fat_get_dotdot_entry);
|
||||||
|
|
||||||
/* See if directory is empty */
|
/* See if directory is empty */
|
||||||
|
@ -915,7 +913,6 @@ int fat_dir_empty(struct inode *dir)
|
||||||
brelse(bh);
|
brelse(bh);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
EXPORT_SYMBOL_GPL(fat_dir_empty);
|
EXPORT_SYMBOL_GPL(fat_dir_empty);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -961,7 +958,6 @@ int fat_scan(struct inode *dir, const unsigned char *name,
|
||||||
}
|
}
|
||||||
return -ENOENT;
|
return -ENOENT;
|
||||||
}
|
}
|
||||||
|
|
||||||
EXPORT_SYMBOL_GPL(fat_scan);
|
EXPORT_SYMBOL_GPL(fat_scan);
|
||||||
|
|
||||||
static int __fat_remove_entries(struct inode *dir, loff_t pos, int nr_slots)
|
static int __fat_remove_entries(struct inode *dir, loff_t pos, int nr_slots)
|
||||||
|
@ -1049,7 +1045,6 @@ int fat_remove_entries(struct inode *dir, struct fat_slot_info *sinfo)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
EXPORT_SYMBOL_GPL(fat_remove_entries);
|
EXPORT_SYMBOL_GPL(fat_remove_entries);
|
||||||
|
|
||||||
static int fat_zeroed_cluster(struct inode *dir, sector_t blknr, int nr_used,
|
static int fat_zeroed_cluster(struct inode *dir, sector_t blknr, int nr_used,
|
||||||
|
@ -1161,7 +1156,6 @@ error_free:
|
||||||
error:
|
error:
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
EXPORT_SYMBOL_GPL(fat_alloc_new_dir);
|
EXPORT_SYMBOL_GPL(fat_alloc_new_dir);
|
||||||
|
|
||||||
static int fat_add_new_entries(struct inode *dir, void *slots, int nr_slots,
|
static int fat_add_new_entries(struct inode *dir, void *slots, int nr_slots,
|
||||||
|
@ -1377,5 +1371,4 @@ error_remove:
|
||||||
__fat_remove_entries(dir, pos, free_slots);
|
__fat_remove_entries(dir, pos, free_slots);
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
EXPORT_SYMBOL_GPL(fat_add_entries);
|
EXPORT_SYMBOL_GPL(fat_add_entries);
|
||||||
|
|
Loading…
Reference in New Issue