Messages in this thread |  | | | Date | Sat, 14 Jan 2006 22:28:07 +0800 (WST) | | From | Ian Kent <> | | Subject | Re: Regression in Autofs, 2.6.15-git |
| |
On Sat, 14 Jan 2006, Al Viro wrote:
> On Sat, Jan 14, 2006 at 05:17:37AM -0800, Andrew Morton wrote: > > You oopsed accessing 0x00000030, and offsetof(super_block, s_flags) is > > 0x30. So autofs4 has passed in a dentry which has a NULL > > dentry->d_inode->i_sb and the new code didn't expect that. > > It's not just new code... inode->i_sb should _never_ be NULL, period. > We set it immediately after memory had been allocated by alloc_inode() > and never modify afterwards, let alone reset to NULL. >
I don't do such things in the autofs4 module either. I'm puzzled by this?
Ian
- 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/
|  |