UBUNTU: ubuntu: AUFS -- track changes to work queue initialisation
authorAndy Whitcroft <apw@canonical.com>
Sun, 7 Nov 2010 04:20:29 +0000 (04:20 +0000)
committerLeann Ogasawara <leann.ogasawara@canonical.com>
Mon, 28 Mar 2011 13:50:31 +0000 (06:50 -0700)
The commit below modified the static initialisers for work queues, track
those changes in aufs2:

  commit ca1cab37d91cbe8a8333732540d43cabb54cfa85
  Author: Andrew Morton <akpm@linux-foundation.org>
  Date:   Tue Oct 26 14:22:34 2010 -0700

    workqueues: s/ON_STACK/ONSTACK/

Signed-off-by: Andy Whitcroft <apw@canonical.com>

ubuntu/aufs/wkq.c

index 805b3b4..b1ca42e 100644 (file)
@@ -117,7 +117,7 @@ static void au_wkq_run(struct au_wkinfo *wkinfo, unsigned int flags)
 
        au_dbg_verify_kthread();
        if (flags & AuWkq_WAIT) {
-               INIT_WORK_ON_STACK(&wkinfo->wk, wkq_func);
+               INIT_WORK_ONSTACK(&wkinfo->wk, wkq_func);
                wkq = au_wkq[AuWkq_INORMAL].wkq;
                if (flags & AuWkq_PRE)
                        wkq = au_wkq[AuWkq_IPRE].wkq;