~cyphermox/ubuntu/trusty/multipath-tools/usb+local

« back to all changes in this revision

Viewing changes to libmultipath/structs.c

  • Committer: Package Import Robot
  • Author(s): Rafael David Tinoco
  • Date: 2014-08-07 16:15:25 UTC
  • Revision ID: package-import@ubuntu.com-20140807161525-whfb9ggygzcwuawa
Tags: 0.4.9-3ubuntu7.1
* Added 0011-libmultipath-update-waiter-handling.patch (LP: #1354114)
* Added 0012-Race-condition-when-calling-stop_waiter_thread.patch (LP: #1354114)
* Added 0013-multipath-clean-up-code-for-stopping-the-waiter-thre.patch (LP: #1354114)
* Added 0014-Fix-race-condition-in-stop_waiter_thread.patch (LP: #1354114)

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
#include "debug.h"
16
16
#include "structs_vec.h"
17
17
#include "blacklist.h"
18
 
#include "waiter.h"
19
18
#include "prio.h"
20
19
 
21
20
struct path *
175
174
                mpp->dmi = NULL;
176
175
        }
177
176
 
178
 
        /*
179
 
         * better own vecs->lock here
180
 
         */
181
 
        if (mpp->waiter)
182
 
                ((struct event_thread *)mpp->waiter)->mpp = NULL;
183
 
 
184
177
        free_pathvec(mpp->paths, free_paths);
185
178
        free_pgvec(mpp->pg, free_paths);
186
179
        FREE_PTR(mpp->mpcontext);