diff options
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 78e95b8b66d4..2adaa2529f18 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -641,7 +641,6 @@ struct block_device { | |||
641 | struct super_block * bd_super; | 641 | struct super_block * bd_super; |
642 | int bd_openers; | 642 | int bd_openers; |
643 | struct mutex bd_mutex; /* open/close mutex */ | 643 | struct mutex bd_mutex; /* open/close mutex */ |
644 | struct semaphore bd_mount_sem; | ||
645 | struct list_head bd_inodes; | 644 | struct list_head bd_inodes; |
646 | void * bd_holder; | 645 | void * bd_holder; |
647 | int bd_holders; | 646 | int bd_holders; |
@@ -1316,7 +1315,7 @@ struct super_block { | |||
1316 | unsigned long s_blocksize; | 1315 | unsigned long s_blocksize; |
1317 | unsigned char s_blocksize_bits; | 1316 | unsigned char s_blocksize_bits; |
1318 | unsigned char s_dirt; | 1317 | unsigned char s_dirt; |
1319 | unsigned long long s_maxbytes; /* Max file size */ | 1318 | loff_t s_maxbytes; /* Max file size */ |
1320 | struct file_system_type *s_type; | 1319 | struct file_system_type *s_type; |
1321 | const struct super_operations *s_op; | 1320 | const struct super_operations *s_op; |
1322 | const struct dquot_operations *dq_op; | 1321 | const struct dquot_operations *dq_op; |
@@ -2157,6 +2156,7 @@ extern ino_t iunique(struct super_block *, ino_t); | |||
2157 | extern int inode_needs_sync(struct inode *inode); | 2156 | extern int inode_needs_sync(struct inode *inode); |
2158 | extern void generic_delete_inode(struct inode *inode); | 2157 | extern void generic_delete_inode(struct inode *inode); |
2159 | extern void generic_drop_inode(struct inode *inode); | 2158 | extern void generic_drop_inode(struct inode *inode); |
2159 | extern int generic_detach_inode(struct inode *inode); | ||
2160 | 2160 | ||
2161 | extern struct inode *ilookup5_nowait(struct super_block *sb, | 2161 | extern struct inode *ilookup5_nowait(struct super_block *sb, |
2162 | unsigned long hashval, int (*test)(struct inode *, void *), | 2162 | unsigned long hashval, int (*test)(struct inode *, void *), |
@@ -2335,6 +2335,7 @@ extern void get_filesystem(struct file_system_type *fs); | |||
2335 | extern void put_filesystem(struct file_system_type *fs); | 2335 | extern void put_filesystem(struct file_system_type *fs); |
2336 | extern struct file_system_type *get_fs_type(const char *name); | 2336 | extern struct file_system_type *get_fs_type(const char *name); |
2337 | extern struct super_block *get_super(struct block_device *); | 2337 | extern struct super_block *get_super(struct block_device *); |
2338 | extern struct super_block *get_active_super(struct block_device *bdev); | ||
2338 | extern struct super_block *user_get_super(dev_t); | 2339 | extern struct super_block *user_get_super(dev_t); |
2339 | extern void drop_super(struct super_block *sb); | 2340 | extern void drop_super(struct super_block *sb); |
2340 | 2341 | ||
@@ -2382,7 +2383,8 @@ extern int buffer_migrate_page(struct address_space *, | |||
2382 | #define buffer_migrate_page NULL | 2383 | #define buffer_migrate_page NULL |
2383 | #endif | 2384 | #endif |
2384 | 2385 | ||
2385 | extern int inode_change_ok(struct inode *, struct iattr *); | 2386 | extern int inode_change_ok(const struct inode *, struct iattr *); |
2387 | extern int inode_newsize_ok(const struct inode *, loff_t offset); | ||
2386 | extern int __must_check inode_setattr(struct inode *, struct iattr *); | 2388 | extern int __must_check inode_setattr(struct inode *, struct iattr *); |
2387 | 2389 | ||
2388 | extern void file_update_time(struct file *file); | 2390 | extern void file_update_time(struct file *file); |