From patchwork Thu Jul 25 18:34:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Scott Lovenberg X-Patchwork-Id: 2833628 Return-Path: X-Original-To: patchwork-cifs-client@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id F3AF5C0319 for ; Thu, 25 Jul 2013 18:35:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 233D820467 for ; Thu, 25 Jul 2013 18:35:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 24E8220468 for ; Thu, 25 Jul 2013 18:35:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757022Ab3GYSfE (ORCPT ); Thu, 25 Jul 2013 14:35:04 -0400 Received: from mail-vc0-f170.google.com ([209.85.220.170]:61111 "EHLO mail-vc0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756903Ab3GYSfD (ORCPT ); Thu, 25 Jul 2013 14:35:03 -0400 Received: by mail-vc0-f170.google.com with SMTP id kw10so339470vcb.15 for ; Thu, 25 Jul 2013 11:35:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=97MeJ9ecmH5u7xMcnNIts7fECxi7mxh55EUmbYDOtdg=; b=je9odYmCWrphId4phwhMH61T4N9rpBlhRIATX8+DpcIpW9Pc1HjgtQ33qO9ExJjux/ QqbbWglB/MkRaXlC0iPCkCpOLeFPPflVcbtL1X8gLedaPCqY7WwytBCGx8/RAdbqd/6s GMixlYKtzOCjPOh7/PZfmGoGuG8ngB2j3rFoItPoQafvnJGplEXf/uh2xDWbSz4A1c3U S2/wsCh6AhqLz8mbfREiqLxDVaQVlFUg57MAkDhzk2kdTOmQZre0BpJrtU54rCghrEPt J7hDD/uDS16pwV6MJeFMGtG61Iw5b+Dr/Q3VF6EwY89V34WkGZ5gK7CQuF3o85Kofy0B 1NwQ== X-Received: by 10.52.249.52 with SMTP id yr20mr6566129vdc.35.1374777301188; Thu, 25 Jul 2013 11:35:01 -0700 (PDT) Received: from nix.cleftstone.net ([64.9.42.64]) by mx.google.com with ESMTPSA id tu6sm18761511vec.2.2013.07.25.11.34.59 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 25 Jul 2013 11:35:00 -0700 (PDT) From: scott.lovenberg@gmail.com To: sfrench@samba.org Cc: Scott Lovenberg , jlayton@redhat.com, linux-cifs@vger.kernel.org, gang.chen@asianux.com, samba-technical@lists.samba.org Subject: [PATCH 2/2] cifs: Correct comment about domainname length Date: Thu, 25 Jul 2013 14:34:45 -0400 Message-Id: <1374777285-25639-2-git-send-email-scott.lovenberg@gmail.com> X-Mailer: git-send-email 1.8.1.4 In-Reply-To: <1374777285-25639-1-git-send-email-scott.lovenberg@gmail.com> References: <1374777285-25639-1-git-send-email-scott.lovenberg@gmail.com> Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@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, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 From: Scott Lovenberg CIFS_MAX_DOMAINNAME_LEN is the max length for a domain name, not a fully qualified domain name. Signed-off-by: Scott Lovenberg --- include/uapi/linux/cifs/cifs_mount.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/linux/cifs/cifs_mount.h b/include/uapi/linux/cifs/cifs_mount.h index a58fc6e..d2408ec 100644 --- a/include/uapi/linux/cifs/cifs_mount.h +++ b/include/uapi/linux/cifs/cifs_mount.h @@ -17,7 +17,7 @@ #define _CIFS_MOUNT_H /* Max string lengths for cifs mounting options. */ -#define CIFS_MAX_DOMAINNAME_LEN 256 /* max fully qualified domain name */ +#define CIFS_MAX_DOMAINNAME_LEN 256 /* max domain name length */ #define CIFS_MAX_USERNAME_LEN 256 /* reasonable max for current servers */ #define CIFS_MAX_PASSWORD_LEN 512 /* Windows max seems to be 256 wide chars */ #define CIFS_MAX_SHARE_LEN 256 /* reasonable max share name length */