[PATCH] inode-diet: Move i_bdev into a union

Move the i_bdev pointer in struct inode into a union.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Theodore Ts'o 2006-09-27 01:50:48 -07:00 committed by Linus Torvalds
parent 4c1541680f
commit eaf796e7ef
2 changed files with 2 additions and 2 deletions

View file

@ -531,8 +531,8 @@ struct inode {
struct list_head i_devices;
union {
struct pipe_inode_info *i_pipe;
struct block_device *i_bdev;
};
struct block_device *i_bdev;
struct cdev *i_cdev;
int i_cindex;