X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fosp%2Fosp_trans.c;fp=lustre%2Fosp%2Fosp_trans.c;h=f3669515271c4669f8d03881a6bf130cd9e12f2e;hb=0098396983e1075668414aa5298a4990e61ffbda;hp=0ad20994110fa2345dd720a5e654f3ece7dcf61f;hpb=135b5c0009e5201ac70394ee1fe98e523fe86072;p=fs%2Flustre-release.git diff --git a/lustre/osp/osp_trans.c b/lustre/osp/osp_trans.c index 0ad2099..f366951 100644 --- a/lustre/osp/osp_trans.c +++ b/lustre/osp/osp_trans.c @@ -1376,8 +1376,6 @@ void osp_invalidate_request(struct osp_device *osp) return; } - INIT_LIST_HEAD(&list); - spin_lock(&ou->ou_lock); /* invalidate all of request in the sending list */ list_for_each_entry_safe(our, tmp, &ou->ou_list, our_list) {