Re: [patch] linux likes to kill bad inodes

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Apr 30 2001 - 17:28:41 EST


> {
> - if (inode->i_sb && inode->i_sb->s_op && inode->i_sb->s_op->write_inode)
> + if (inode->i_sb && inode->i_sb->s_op && inode->i_sb->s_op->write_inode && !is_bad_inode(inode))
> inode->i_sb->s_op->write_inode(inode, sync);
> }

Any reason a bad inode can't have its i_sb changed to a bad_inode_fs ?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Apr 30 2001 - 21:00:26 EST