Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965187AbbHKNdU (ORCPT ); Tue, 11 Aug 2015 09:33:20 -0400 Received: from mail-pd0-f171.google.com ([209.85.192.171]:34465 "EHLO mail-pd0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964831AbbHKNdQ (ORCPT ); Tue, 11 Aug 2015 09:33:16 -0400 From: Swee Hua Law To: andreas.dilger@intel.com, gregkh@linuxfoundation.org Cc: Julia.Lawall@lip6.fr, hamohammed.sa@gmail.com, asaf.vertz@tandemg.com, sweehua81@gmail.com, viro@zeniv.linux.org.uk, HPDD-discuss@ml01.01.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] staging: lustre: Add blank line after variable declaration Date: Tue, 11 Aug 2015 21:32:30 +0800 Message-Id: <1439299951-2012-3-git-send-email-sweehua81@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1439299951-2012-1-git-send-email-sweehua81@gmail.com> References: <1439299951-2012-1-git-send-email-sweehua81@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1222 Lines: 39 Add blank line after variable declaration Signed-off-by: Swee Hua Law --- drivers/staging/lustre/lustre/llite/lloop.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/lustre/lustre/llite/lloop.c b/drivers/staging/lustre/lustre/llite/lloop.c index b643f11..de5eaa0 100644 --- a/drivers/staging/lustre/lustre/llite/lloop.c +++ b/drivers/staging/lustre/lustre/llite/lloop.c @@ -372,9 +372,11 @@ err: static inline void loop_handle_bio(struct lloop_device *lo, struct bio *bio) { int ret; + ret = do_bio_lustrebacked(lo, bio); while (bio) { struct bio *tmp = bio->bi_next; + bio->bi_next = NULL; bio_endio(bio); bio = tmp; @@ -427,6 +429,7 @@ static int loop_thread(void *data) wait_event(lo->lo_bh_wait, loop_active(lo)); if (!atomic_read(&lo->lo_pending)) { int exiting = 0; + spin_lock_irq(&lo->lo_lock); exiting = (lo->lo_state == LLOOP_RUNDOWN); spin_unlock_irq(&lo->lo_lock); -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/