upgrade to linux 2.6.10-1.12_FC2
[linux-2.6.git] / fs / ext2 / inode.c
index dcb9508..ba3cc99 100644 (file)
@@ -53,19 +53,6 @@ static inline int ext2_inode_is_fast_symlink(struct inode *inode)
                inode->i_blocks - ea_blocks == 0);
 }
 
-/*
- * Called at each iput().
- *
- * The inode may be "bad" if ext2_read_inode() saw an error from
- * ext2_get_inode(), so we need to check that to avoid freeing random disk
- * blocks.
- */
-void ext2_put_inode(struct inode *inode)
-{
-       if (!is_bad_inode(inode))
-               ext2_discard_prealloc(inode);
-}
-
 static void ext2_truncate_nocheck (struct inode * inode);
 
 /*