Skip to content

Commit

Permalink
fs/fat: fix some small checkpatch issues in dir.c
Browse files Browse the repository at this point in the history
Simply remove the spacing between function definitions and
EXPORT_SYMBOL_GPL calls, which were previously generating warnings.

Signed-off-by: Cruz Julian Bishop <[email protected]>
Acked-by: OGAWA Hirofumi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
CruzBishop authored and torvalds committed Oct 5, 2012
1 parent c905182 commit 3f36f61
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions fs/fat/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,6 @@ int fat_search_long(struct inode *inode, const unsigned char *name,

return err;
}

EXPORT_SYMBOL_GPL(fat_search_long);

struct fat_ioctl_filldir_callback {
Expand Down Expand Up @@ -892,7 +891,6 @@ int fat_get_dotdot_entry(struct inode *dir, struct buffer_head **bh,
}
return -ENOENT;
}

EXPORT_SYMBOL_GPL(fat_get_dotdot_entry);

/* See if directory is empty */
Expand All @@ -915,7 +913,6 @@ int fat_dir_empty(struct inode *dir)
brelse(bh);
return result;
}

EXPORT_SYMBOL_GPL(fat_dir_empty);

/*
Expand Down Expand Up @@ -961,7 +958,6 @@ int fat_scan(struct inode *dir, const unsigned char *name,
}
return -ENOENT;
}

EXPORT_SYMBOL_GPL(fat_scan);

static int __fat_remove_entries(struct inode *dir, loff_t pos, int nr_slots)
Expand Down Expand Up @@ -1049,7 +1045,6 @@ int fat_remove_entries(struct inode *dir, struct fat_slot_info *sinfo)

return 0;
}

EXPORT_SYMBOL_GPL(fat_remove_entries);

static int fat_zeroed_cluster(struct inode *dir, sector_t blknr, int nr_used,
Expand Down Expand Up @@ -1161,7 +1156,6 @@ int fat_alloc_new_dir(struct inode *dir, struct timespec *ts)
error:
return err;
}

EXPORT_SYMBOL_GPL(fat_alloc_new_dir);

static int fat_add_new_entries(struct inode *dir, void *slots, int nr_slots,
Expand Down Expand Up @@ -1377,5 +1371,4 @@ int fat_add_entries(struct inode *dir, void *slots, int nr_slots,
__fat_remove_entries(dir, pos, free_slots);
return err;
}

EXPORT_SYMBOL_GPL(fat_add_entries);

0 comments on commit 3f36f61

Please sign in to comment.