Commit 3f36f610 authored by Cruz Julian Bishop's avatar Cruz Julian Bishop Committed by Linus Torvalds

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: default avatarCruz Julian Bishop <cruzjbishop@gmail.com>
Acked-by: default avatarOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent c9051829
...@@ -537,7 +537,6 @@ int fat_search_long(struct inode *inode, const unsigned char *name, ...@@ -537,7 +537,6 @@ int fat_search_long(struct inode *inode, const unsigned char *name,
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, ...@@ -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) ...@@ -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, ...@@ -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) ...@@ -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 @@ int fat_alloc_new_dir(struct inode *dir, struct timespec *ts) ...@@ -1161,7 +1156,6 @@ int fat_alloc_new_dir(struct inode *dir, struct timespec *ts)
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 @@ int fat_add_entries(struct inode *dir, void *slots, int nr_slots, ...@@ -1377,5 +1371,4 @@ int fat_add_entries(struct inode *dir, void *slots, int nr_slots,
__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);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment