summaryrefslogtreecommitdiff
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorAlexander Viro <viro@math.psu.edu>2002-10-28 02:50:55 -0800
committerJames Bottomley <jejb@mulgrave.(none)>2002-10-28 02:50:55 -0800
commiteaa0bfbd94dad923cb4de7c9eff7a60af11abe82 (patch)
tree62e0efcc75c9b2e8274b91c6a803b0c0ff859aa0 /include/linux/fs.h
parent0b0f135d8a073dcb47604f80d8f2946cf1c47687 (diff)
[PATCH] block_device_operations always picked from gendisk
* do_open() cleaned up * we always pick block_device_operations from gendisk->fops now * register_blkdev() just stores the name of driver, nothing more * ->bd_op and ->bd_queue removed - we have that in gendisk * get_blkfops() is gone
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r--include/linux/fs.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index c2e39a247227..d039e51f5b81 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -348,8 +348,6 @@ struct block_device {
struct inode * bd_inode;
dev_t bd_dev; /* not a kdev_t - it's a search key */
int bd_openers;
- struct block_device_operations *bd_op;
- struct request_queue *bd_queue;
struct semaphore bd_sem; /* open/close mutex */
struct list_head bd_inodes;
void * bd_holder;
@@ -1096,7 +1094,6 @@ extern void bd_release(struct block_device *);
extern void blk_run_queues(void);
/* fs/devices.c */
-extern struct block_device_operations *get_blkfops(unsigned int);
extern int register_chrdev(unsigned int, const char *, struct file_operations *);
extern int unregister_chrdev(unsigned int, const char *);
extern int chrdev_open(struct inode *, struct file *);