diff options
author | Theodore Ts'o <tytso@mit.edu> | 2006-09-27 04:50:48 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-27 11:26:17 -0400 |
commit | eaf796e7ef6014f208c409b2b14fddcfaafe7e3a (patch) | |
tree | 4a872d4b2b086132a9ebdaec1420b8a861ddf6b7 /fs | |
parent | 4c1541680f8d189d21dd07b053bc12996574646e (diff) |
[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 'fs')
-rw-r--r-- | fs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/inode.c b/fs/inode.c index 77e254792025..41b462232f7f 100644 --- a/fs/inode.c +++ b/fs/inode.c | |||
@@ -254,7 +254,7 @@ void clear_inode(struct inode *inode) | |||
254 | DQUOT_DROP(inode); | 254 | DQUOT_DROP(inode); |
255 | if (inode->i_sb && inode->i_sb->s_op->clear_inode) | 255 | if (inode->i_sb && inode->i_sb->s_op->clear_inode) |
256 | inode->i_sb->s_op->clear_inode(inode); | 256 | inode->i_sb->s_op->clear_inode(inode); |
257 | if (inode->i_bdev) | 257 | if (S_ISBLK(inode->i_mode) && inode->i_bdev) |
258 | bd_forget(inode); | 258 | bd_forget(inode); |
259 | if (inode->i_cdev) | 259 | if (inode->i_cdev) |
260 | cd_forget(inode); | 260 | cd_forget(inode); |