[dm-devel] [PATCH] backport of: dm sysfs: fix a module unload race

Greg KH gregkh at linuxfoundation.org
Tue Feb 11 00:05:17 UTC 2014


On Mon, Feb 10, 2014 at 03:02:24PM -0500, Mikulas Patocka wrote:
> 
> 
> On Sat, 8 Feb 2014, gregkh at linuxfoundation.org wrote:
> 
> > The patch below does not apply to the 3.13-stable tree.
> > If someone wants it applied there, or to any other stable or longterm
> > tree, then please email the backport, including the original git commit
> > id to <stable at vger.kernel.org>.
> > 
> > thanks,
> > 
> > greg k-h
> 
> Hi
> 
> Here I'm sending backported patch 
> 2995fa78e423d7193f3b57835f6c1c75006a0315. It applies to stable kernels
> 3.4 - 3.13 (and maybe also on older versions).

For 3.10-3.13 this patch works, but for 3.4 I get the build error:

ERROR: "dm_kobject_release" [drivers/md/dm-mod.ko] undefined!
/ssd/gregkh-linux/stable/linux-3.4.y/scripts/Makefile.modpost:91: recipe for target '__modpost' failed
make[1]: *** [__modpost] Error 1

So I'm dropping it from that branch.  Care to send me a version that
builds properly for that kernel release?

thanks,

greg k-h




More information about the dm-devel mailing list