diff options
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index d1e370d25f7b..b77f2608eef9 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1290,6 +1290,9 @@ extern void mnt_set_mountpoint(struct vfsmount *, struct dentry *, | |||
1290 | 1290 | ||
1291 | extern int vfs_statfs(struct super_block *, struct kstatfs *); | 1291 | extern int vfs_statfs(struct super_block *, struct kstatfs *); |
1292 | 1292 | ||
1293 | /* /sys/fs */ | ||
1294 | extern struct subsystem fs_subsys; | ||
1295 | |||
1293 | #define FLOCK_VERIFY_READ 1 | 1296 | #define FLOCK_VERIFY_READ 1 |
1294 | #define FLOCK_VERIFY_WRITE 2 | 1297 | #define FLOCK_VERIFY_WRITE 2 |
1295 | 1298 | ||
@@ -1383,6 +1386,12 @@ extern int register_chrdev(unsigned int, const char *, | |||
1383 | extern int unregister_chrdev(unsigned int, const char *); | 1386 | extern int unregister_chrdev(unsigned int, const char *); |
1384 | extern void unregister_chrdev_region(dev_t, unsigned); | 1387 | extern void unregister_chrdev_region(dev_t, unsigned); |
1385 | extern int chrdev_open(struct inode *, struct file *); | 1388 | extern int chrdev_open(struct inode *, struct file *); |
1389 | extern int get_chrdev_list(char *); | ||
1390 | extern void *acquire_chrdev_list(void); | ||
1391 | extern int count_chrdev_list(void); | ||
1392 | extern void *get_next_chrdev(void *); | ||
1393 | extern int get_chrdev_info(void *, int *, char **); | ||
1394 | extern void release_chrdev_list(void *); | ||
1386 | 1395 | ||
1387 | /* fs/block_dev.c */ | 1396 | /* fs/block_dev.c */ |
1388 | #define BDEVNAME_SIZE 32 /* Largest string for a blockdev identifier */ | 1397 | #define BDEVNAME_SIZE 32 /* Largest string for a blockdev identifier */ |
@@ -1391,6 +1400,11 @@ extern const char *bdevname(struct block_device *bdev, char *buffer); | |||
1391 | extern struct block_device *lookup_bdev(const char *); | 1400 | extern struct block_device *lookup_bdev(const char *); |
1392 | extern struct block_device *open_bdev_excl(const char *, int, void *); | 1401 | extern struct block_device *open_bdev_excl(const char *, int, void *); |
1393 | extern void close_bdev_excl(struct block_device *); | 1402 | extern void close_bdev_excl(struct block_device *); |
1403 | extern void *acquire_blkdev_list(void); | ||
1404 | extern int count_blkdev_list(void); | ||
1405 | extern void *get_next_blkdev(void *); | ||
1406 | extern int get_blkdev_info(void *, int *, char **); | ||
1407 | extern void release_blkdev_list(void *); | ||
1394 | 1408 | ||
1395 | extern void init_special_inode(struct inode *, umode_t, dev_t); | 1409 | extern void init_special_inode(struct inode *, umode_t, dev_t); |
1396 | 1410 | ||