Messages in this thread | ![/](/images/icornerl.gif) | | Subject | Re: [BUG]Missing i_sb NULL pointer check in destroy_inode() | From | Mingming Cao <> | Date | 24 Nov 2003 12:10:15 -0800 |
| |
On Mon, 2003-11-24 at 11:27, Andrew Morton wrote: > Mingming Cao <cmm@us.ibm.com> wrote: > > > > destroy_inode() dereferences inode->i_sb without checking if it is NULL. > > This is inconsistent with its caller: iput() and clear_inode(), both of > > which check inode->i_sb before dereferencing it. > > I assume this has only been observed with an out-of-tree filesystem, but > yes, the consistency is good. >
Yes, the crash happened with an out-of-tree filesystem. Thanks.
-Mingming
- 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/
| ![\](/images/icornerr.gif) |