From patchwork Sat Mar 28 15:51:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kinglong Mee X-Patchwork-Id: 6114211 Return-Path: X-Original-To: patchwork-linux-nfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8F4099F1BE for ; Sat, 28 Mar 2015 15:51:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9A0A42038E for ; Sat, 28 Mar 2015 15:51:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B429920386 for ; Sat, 28 Mar 2015 15:51:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752330AbbC1Pvc (ORCPT ); Sat, 28 Mar 2015 11:51:32 -0400 Received: from mail-pd0-f171.google.com ([209.85.192.171]:33171 "EHLO mail-pd0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752192AbbC1Pvc (ORCPT ); Sat, 28 Mar 2015 11:51:32 -0400 Received: by pdnc3 with SMTP id c3so127446785pdn.0 for ; Sat, 28 Mar 2015 08:51:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=Vbwur2CRaI0DBy9a4CU0xkBbWVwlcn4yDLRMitASzqg=; b=hqZbSnGgFA4+c6PfEaVKLSpHHWdNqHc6Jh8beP4FfIO37GGX6Pk33fPX2ofB/xryyl vV6kTzjmZAjjlF2MmLJHYn5U98wdTZt4zm3LWUNm8VEASkpryr5MHCzMwmjLPt9IHqIo NdAKoOMdmXZb2DyLrZzzxUi90jygoHJmnTaHA5dTt3MBYwpfaDjhjkAgsf8L1PlJEeq+ sYzb53YZsEsv+uIhOtqz6t5ZSMBOcJAo8ZePpKxPvYG+I7+B/sCoGVR3x75j1NoC+V/L 8zVVac3UQR0wFoVFPKH/eaxwIvX42C37IL0ogzfDK7+6/SjkRnaJypBNVO67f2d+JJi6 VnKA== X-Received: by 10.68.223.36 with SMTP id qr4mr44177440pbc.50.1427557891932; Sat, 28 Mar 2015 08:51:31 -0700 (PDT) Received: from [192.168.99.4] ([104.143.41.79]) by mx.google.com with ESMTPSA id x1sm5422929pdr.17.2015.03.28.08.51.27 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 28 Mar 2015 08:51:30 -0700 (PDT) Message-ID: <5516CDFB.3040306@gmail.com> Date: Sat, 28 Mar 2015 23:51:23 +0800 From: Kinglong Mee User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: "J. Bruce Fields" , Trond Myklebust CC: Linux NFS Mailing List , Kinglong Mee Subject: [PATCH 4/4] nfsd: use NFS4_MAXTAGLEN defined in include/linux/nfs4.h References: <5516CCDB.4020509@gmail.com> In-Reply-To: <5516CCDB.4020509@gmail.com> Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Kinglong Mee --- fs/nfsd/xdr4cb.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/nfsd/xdr4cb.h b/fs/nfsd/xdr4cb.h index c47f6fd..008dd2b 100644 --- a/fs/nfsd/xdr4cb.h +++ b/fs/nfsd/xdr4cb.h @@ -1,4 +1,5 @@ -#define NFS4_MAXTAGLEN 20 + +#include #define NFS4_enc_cb_null_sz 0 #define NFS4_dec_cb_null_sz 0