From patchwork Sat May 11 02:44:30 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benny Halevy X-Patchwork-Id: 2553211 Return-Path: X-Original-To: patchwork-linux-nfs@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 1FE6EDF2A2 for ; Sat, 11 May 2013 02:44:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756781Ab3EKCog (ORCPT ); Fri, 10 May 2013 22:44:36 -0400 Received: from mail-we0-f173.google.com ([74.125.82.173]:62130 "EHLO mail-we0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756664Ab3EKCog (ORCPT ); Fri, 10 May 2013 22:44:36 -0400 Received: by mail-we0-f173.google.com with SMTP id q54so4517020wes.32 for ; Fri, 10 May 2013 19:44:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:subject:date:message-id:x-mailer :in-reply-to:references; bh=oUdDg6XsgfDKZnhTE+FGrq8BZuBA+LbqnNhQL7wPVpI=; b=X3HaNJOlkz40q54OPUgo4gS92SxzG1bHEUrx4soOioVsIfPO2EZqGerGhhw+7W/hQM DONZgjGx/+CQ0Hs5hBid2qlmqKa2f6iAcYezedwYRNhG67qRmppNTEGJxAIt47EOX+Ul DIbiNb7DdQxe2foqtVgf6ASxcD5K1BVmHpGFclmelkb8AGpPIECiTIbugnyYuV8pm71V RT3SsnsdVArzp/kJH+neO3pLyzOveIYeV0jTQWt44OYtGV4LHwXH/YjnS5WKYaIlTBfU 5udg92PE8iv7ltWQ93Y/osd8UsPKE0Lvd5z8EffQP/n/12Fyq4TtX+nKiCp0go8y1lfo RbLA== X-Received: by 10.180.206.238 with SMTP id lr14mr7153585wic.24.1368240274752; Fri, 10 May 2013 19:44:34 -0700 (PDT) Received: from bhalevy-lt.il.tonian.com (bzq-79-180-144-28.red.bezeqint.net. [79.180.144.28]) by mx.google.com with ESMTPSA id i11sm1314215wiw.11.2013.05.10.19.44.33 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 10 May 2013 19:44:34 -0700 (PDT) From: Benny Halevy To: linux-nfs@vger.kernel.org Subject: [PATCH 32/38] pnfsd: cosmetic fixes Date: Sat, 11 May 2013 05:44:30 +0300 Message-Id: <1368240270-968-1-git-send-email-bhalevy@tonian.com> X-Mailer: git-send-email 1.7.11.7 In-Reply-To: <518B6377.3000207@tonian.com> References: <518B6377.3000207@tonian.com> Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org --- fs/nfsd/nfs4pnfsd.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/fs/nfsd/nfs4pnfsd.c b/fs/nfsd/nfs4pnfsd.c index 27f717f..7a5ba09 100644 --- a/fs/nfsd/nfs4pnfsd.c +++ b/fs/nfsd/nfs4pnfsd.c @@ -1268,8 +1268,10 @@ struct create_recall_list_arg { return ret; } -/* Create a layoutrecall structure for each client based on the - * original structure. */ +/* + * Create a layoutrecall structure for each client based on the + * original structure. + */ int create_layout_recall_list(struct list_head *todolist, unsigned *todo_len, struct nfsd4_pnfs_cb_layout *cbl, @@ -1348,7 +1350,7 @@ struct create_recall_list_arg { put_layoutrecall(pending); } --todo_len; - status = -ENOMEM; + status = -ENOMEM; } }