From patchwork Fri Oct 19 08:19:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabian Frederick X-Patchwork-Id: 10648805 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8791513A4 for ; Fri, 19 Oct 2018 08:20:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 79D65289CB for ; Fri, 19 Oct 2018 08:20:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6E7BF28AA8; Fri, 19 Oct 2018 08:20:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 10321289CB for ; Fri, 19 Oct 2018 08:20:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727365AbeJSQZN (ORCPT ); Fri, 19 Oct 2018 12:25:13 -0400 Received: from mailrelay101.isp.belgacom.be ([195.238.20.128]:36159 "EHLO mailrelay101.isp.belgacom.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727215AbeJSQZM (ORCPT ); Fri, 19 Oct 2018 12:25:12 -0400 X-Belgacom-Dynamic: yes IronPort-PHdr: 9a23:11Di3hwkVF+LyUrXCy+O+j09IxM/srCxBDY+r6Qd2uMVIJqq85mqBkHD//Il1AaPAd2Eraocw8Pt8InYEVQa5piAtH1QOLdtbDQizfssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrja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V2x0kHkHSCQ43K1kukx9yVeC0a5mjPxED9Bc/O1GAU8GMsvVzPR/I9TzXB/RO9mOVVCqS8mnBjd3Scg+kPEUZEMoNdyojxnFlwSwDrMYjb2AB9Rg/KvW0VDqJNd7xmqA3qR33ApueddGKWDz3v03zAPUHYOcy0g= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2AxAACMkslb/7dPQldjHAEBAQQBAQcEAQGBUQcBAQsBgQh8gVMSKIwNX41+AYhQjgmBejgBhDoEAgKFAyI0DQ0BAwEBAgEBAgFsKII2IoJiBicvIxBROR4ZgyGBdRGnWjODfYYnhyyEOoFBP4hqgQSFDQKeQQmGIYpLAhWBQI5pmBU4gVVNIBiDJ5BZPTCBAwE9AYdlgk0BAQ X-IPAS-Result: A2AxAACMkslb/7dPQldjHAEBAQQBAQcEAQGBUQcBAQsBgQh8gVMSKIwNX41+AYhQjgmBejgBhDoEAgKFAyI0DQ0BAwEBAgEBAgFsKII2IoJiBicvIxBROR4ZgyGBdRGnWjODfYYnhyyEOoFBP4hqgQSFDQKeQQmGIYpLAhWBQI5pmBU4gVVNIBiDJ5BZPTCBAwE9AYdlgk0BAQ Received: from 183.79-66-87.adsl-dyn.isp.belgacom.be (HELO localhost.localdomain) ([87.66.79.183]) by relay.skynet.be with ESMTP; 19 Oct 2018 10:20:09 +0200 From: Fabian Frederick To: akpm@linux-foundation.org Cc: jaharkes@cs.cmu.edu, coda@cs.cmu.edu, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, fabf@skynet.be Subject: [PATCH 3/7 linux-next] coda: use SIZE() for stat Date: Fri, 19 Oct 2018 10:19:29 +0200 Message-Id: <1539937173-26260-4-git-send-email-fabf@skynet.be> X-Mailer: git-send-email 2.4.11 In-Reply-To: <1539937173-26260-1-git-send-email-fabf@skynet.be> References: <1539937173-26260-1-git-send-email-fabf@skynet.be> Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP max_t expression was already defined in coda sources Signed-off-by: Fabian Frederick --- fs/coda/upcall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/coda/upcall.c b/fs/coda/upcall.c index d0d0fed..1323793 100644 --- a/fs/coda/upcall.c +++ b/fs/coda/upcall.c @@ -553,7 +553,7 @@ int venus_statfs(struct dentry *dentry, struct kstatfs *sfs) union outputArgs *outp; int insize, outsize, error; - insize = max_t(unsigned int, INSIZE(statfs), OUTSIZE(statfs)); + insize = SIZE(statfs); UPARG(CODA_STATFS); error = coda_upcall(coda_vcp(dentry->d_sb), insize, &outsize, inp);