[PATCH] drm: fix i_mapping and f_mapping initialization in drm_openin error path

From: Michal Hocko
Date: Tue Mar 26 2013 - 15:56:13 EST


Hi,
the patch bellow fixes a nullptr dereference reported with OpenSUSE12.3.
I am not familiar with the area so I have no idea whether this is the
right way to go but after applying this patch the problem is not
reproducible anymore.
If the patch is correct then please mark it for stable (3.7+).

Thanks!
---