summaryrefslogtreecommitdiff
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2006-09-27 01:50:48 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-27 08:26:17 -0700
commiteaf796e7ef6014f208c409b2b14fddcfaafe7e3a (patch)
tree4a872d4b2b086132a9ebdaec1420b8a861ddf6b7 /include/linux/fs.h
parent4c1541680f8d189d21dd07b053bc12996574646e (diff)
downloadlwn-eaf796e7ef6014f208c409b2b14fddcfaafe7e3a.tar.gz
lwn-eaf796e7ef6014f208c409b2b14fddcfaafe7e3a.zip
[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>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r--include/linux/fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index ca695fc8d69c..98ff684a5b1c 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -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;