From 3408a276c58dba9b8c5fe035ead630294cd8e790 Mon Sep 17 00:00:00 2001 From: Brian Gerst Date: Wed, 20 Nov 2002 22:52:04 -0800 Subject: [PATCH] break up fs/devices.c This patch breaks up and removes fs/devices.c, moving functions to more logical places. character device functions -> char_dev.c init_special_inode() -> inode.c kdevname() -> libfs.c (this should die, but that's another patch) bad_sock_fops -> socket.c --- include/linux/fs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/linux/fs.h b/include/linux/fs.h index bbb4e2cacecc..7234a60f85a5 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -1089,6 +1089,8 @@ extern int blkdev_open(struct inode *, struct file *); extern int blkdev_close(struct inode *, struct file *); extern struct file_operations def_blk_fops; extern struct address_space_operations def_blk_aops; +extern struct file_operations def_chr_fops; +extern struct file_operations bad_sock_fops; extern struct file_operations def_fifo_fops; extern int ioctl_by_bdev(struct block_device *, unsigned, unsigned long); extern int blkdev_ioctl(struct inode *, struct file *, unsigned, unsigned long); -- cgit v1.2.3