diff options
author | Theodore Ts'o <tytso@mit.edu> | 2006-09-27 08:50:48 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-27 15:26:17 (GMT) |
commit | eaf796e7ef6014f208c409b2b14fddcfaafe7e3a (patch) | |
tree | 4a872d4b2b086132a9ebdaec1420b8a861ddf6b7 /fs/inode.c | |
parent | 4c1541680f8d189d21dd07b053bc12996574646e (diff) | |
download | linux-eaf796e7ef6014f208c409b2b14fddcfaafe7e3a.tar.xz |
[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/inode.c')
-rw-r--r-- | fs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -254,7 +254,7 @@ void clear_inode(struct inode *inode) DQUOT_DROP(inode); if (inode->i_sb && inode->i_sb->s_op->clear_inode) inode->i_sb->s_op->clear_inode(inode); - if (inode->i_bdev) + if (S_ISBLK(inode->i_mode) && inode->i_bdev) bd_forget(inode); if (inode->i_cdev) cd_forget(inode); |