|
7 | 7 | #include <linux/hash.h>
|
8 | 8 | #include <linux/ratelimit.h>
|
9 | 9 | #include <linux/msdos_fs.h>
|
| 10 | +#include <linux/fs_context.h> |
| 11 | +#include <linux/fs_parser.h> |
10 | 12 |
|
11 | 13 | /*
|
12 | 14 | * vfat shortname flags
|
@@ -416,12 +418,21 @@ extern struct inode *fat_iget(struct super_block *sb, loff_t i_pos);
|
416 | 418 | extern struct inode *fat_build_inode(struct super_block *sb,
|
417 | 419 | struct msdos_dir_entry *de, loff_t i_pos);
|
418 | 420 | extern int fat_sync_inode(struct inode *inode);
|
419 |
| -extern int fat_fill_super(struct super_block *sb, void *data, int silent, |
420 |
| - int isvfat, void (*setup)(struct super_block *)); |
| 421 | +extern int fat_fill_super(struct super_block *sb, struct fs_context *fc, |
| 422 | + void (*setup)(struct super_block *)); |
421 | 423 | extern int fat_fill_inode(struct inode *inode, struct msdos_dir_entry *de);
|
422 | 424 |
|
423 | 425 | extern int fat_flush_inodes(struct super_block *sb, struct inode *i1,
|
424 | 426 | struct inode *i2);
|
| 427 | + |
| 428 | +extern const struct fs_parameter_spec fat_param_spec[]; |
| 429 | +int fat_init_fs_context(struct fs_context *fc, bool is_vfat); |
| 430 | +void fat_free_fc(struct fs_context *fc); |
| 431 | + |
| 432 | +int fat_parse_param(struct fs_context *fc, struct fs_parameter *param, |
| 433 | + bool is_vfat); |
| 434 | +int fat_reconfigure(struct fs_context *fc); |
| 435 | + |
425 | 436 | static inline unsigned long fat_dir_hash(int logstart)
|
426 | 437 | {
|
427 | 438 | return hash_32(logstart, FAT_HASH_BITS);
|
|
0 commit comments