diff options
| author | Hirofumi Ogawa <hirofumi@mail.parknet.co.jp> | 2005-03-09 17:03:26 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-03-09 17:03:26 -0800 |
| commit | 3278e910ec8f7b44221396b68f55ec1c4b267e5f (patch) | |
| tree | 7cd0e6a42d55a4ffc50253daf70383ad7f5e1d52 /include/linux | |
| parent | b13796528b8f08d931a384210144b4a9e29292d3 (diff) | |
[PATCH] FAT: Rewrite fat_add_entries()
In order not to write out the same block repeatedly, rewrite the
fat_add_entries().
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/msdos_fs.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/msdos_fs.h b/include/linux/msdos_fs.h index 5c339f217a43..8438a909a661 100644 --- a/include/linux/msdos_fs.h +++ b/include/linux/msdos_fs.h @@ -324,9 +324,6 @@ extern int fat_bmap(struct inode *inode, sector_t sector, sector_t *phys); extern struct file_operations fat_dir_operations; extern int fat_search_long(struct inode *inode, const unsigned char *name, int name_len, struct fat_slot_info *sinfo); -extern int fat_add_entries(struct inode *dir, int slots, - struct buffer_head **bh, - struct msdos_dir_entry **de, loff_t *i_pos); extern int fat_dir_empty(struct inode *dir); extern int fat_subdirs(struct inode *dir); extern int fat_scan(struct inode *dir, const unsigned char *name, @@ -334,6 +331,8 @@ extern int fat_scan(struct inode *dir, const unsigned char *name, extern int fat_get_dotdot_entry(struct inode *dir, struct buffer_head **bh, struct msdos_dir_entry **de, loff_t *i_pos); extern int fat_alloc_new_dir(struct inode *dir, struct timespec *ts); +extern int fat_add_entries(struct inode *dir, void *slots, int nr_slots, + struct fat_slot_info *sinfo); extern int fat_remove_entries(struct inode *dir, struct fat_slot_info *sinfo); /* fat/fatent.c */ |
