Re: [Xen-devel] [GIT PULL] (xen) stable/for-jens-3.14 : NFO: trying to register non-static key. the code is fine but needs lockdep annotation.

From: Jens Axboe
Date: Tue Feb 11 2014 - 16:44:52 EST


On 2014-02-11 13:21, Sander Eikelenboom wrote:

Tuesday, February 11, 2014, 7:21:56 PM, you wrote:

On 11/02/14 18:15, Roger Pau Monné wrote:
On 11/02/14 18:52, David Vrabel wrote:

That would mean that unmap_purged_grants would no longer be static and
I should also add a prototype for it in blkback/common.h, which is kind
of ugly IMHO.

But less ugly than initializing work with a NULL function, IMO.

commit 980e72e45454b64ccb7f23b6794a769384e51038
Author: Roger Pau Monne <roger.pau@xxxxxxxxxx>
Date: Tue Feb 11 19:04:06 2014 +0100

xen-blkback: init persistent_purge_work work_struct

Initialize persistent_purge_work work_struct on xen_blkif_alloc (and
remove the previous initialization done in purge_persistent_gnt). This
prevents flush_work from complaining even if purge_persistent_gnt has
not been used.

Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>

Reviewed-by: David Vrabel <david.vrabel@xxxxxxxxxx>

And a Tested-by: Sander Eikelenboom <linux@xxxxxxxxxxxxxx>

Konrad, I was going to ship my current tree today, but looks like we need this too.

--
Jens Axboe
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/