diff options
| author | Alexander Viro <viro@www.linux.org.uk> | 2003-08-30 22:51:22 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-08-30 22:51:22 -0700 |
| commit | fe178e800e8ac0f3f13f0ce4b2c170599669713b (patch) | |
| tree | e6763ee81d43d7d3d663e7253c2e55eddc01647d /include/linux/fs.h | |
| parent | 3dd5fcf633985e5b0f5e226c457d14d04180f381 (diff) | |
[PATCH] dev_t handling cleanups (9/12)
struct block_device made the private part of bdevfs inodes; bd_count
is gone, we use ->i_count of inode now; separate hash is also gone and we
are using iget5_locked()/igrab()/iput() instead.
Diffstat (limited to 'include/linux/fs.h')
| -rw-r--r-- | include/linux/fs.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 75050bc2844e..8672beea576c 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -336,10 +336,8 @@ struct address_space { }; struct block_device { - struct list_head bd_hash; - atomic_t bd_count; - struct inode * bd_inode; dev_t bd_dev; /* not a kdev_t - it's a search key */ + struct inode * bd_inode; /* will die */ int bd_openers; struct semaphore bd_sem; /* open/close mutex */ struct list_head bd_inodes; @@ -351,6 +349,7 @@ struct block_device { unsigned bd_part_count; int bd_invalidated; struct gendisk * bd_disk; + struct list_head bd_list; }; /* |
