From patchwork Wed Jan 2 19:12:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Layton X-Patchwork-Id: 1924801 Return-Path: X-Original-To: patchwork-cifs-client@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id EDA243FC85 for ; Wed, 2 Jan 2013 19:12:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752668Ab3ABTMe (ORCPT ); Wed, 2 Jan 2013 14:12:34 -0500 Received: from mail-gg0-f171.google.com ([209.85.161.171]:44250 "EHLO mail-gg0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752555Ab3ABTMe (ORCPT ); Wed, 2 Jan 2013 14:12:34 -0500 Received: by mail-gg0-f171.google.com with SMTP id 4so2252147ggm.2 for ; Wed, 02 Jan 2013 11:12:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:from:to:subject:date:message-id:x-mailer :x-gm-message-state; bh=FZVbbq7huGHF94+GoyxPHWq4tB5Yedfg9bgsf+JB4hM=; b=XPPSHBgnmNDZArpWc9HfcA/ayUiKPUPJb3ygUwQgAL6KidP8HXKH3mXoM3AuYVwyVu tVc7NwGK9B6AJrPR+ggVrnnGWuT9NNTvMs3SprYI4CsJJCYQ8DkUzy1scDZo0/NGf8dG CDYQjlFFA8h+oDv2quS4wcQn0mrH6sO5st0QJ7eCXq+xp2JbatihzohupYTgCC87UFKL 9deFwn+lmjehqlg8G7kulcItpBXXk6tRc+eO1glKKOKxTqFnmFwPBhbgqEToCHAc5VjD TRlzBHz6Sz+4x3Bo67hT0sierX6YyngvRhtxwklK6ICRE1MvQLy5WCAC3QzuJZQ6an3k q9Eg== X-Received: by 10.236.176.198 with SMTP id b46mr46388125yhm.43.1357153953185; Wed, 02 Jan 2013 11:12:33 -0800 (PST) Received: from salusa.poochiereds.net (cpe-107-015-113-143.nc.res.rr.com. [107.15.113.143]) by mx.google.com with ESMTPS id x41sm46371757yhg.9.2013.01.02.11.12.30 (version=SSLv3 cipher=OTHER); Wed, 02 Jan 2013 11:12:31 -0800 (PST) From: Jeff Layton To: linux-cifs@vger.kernel.org Subject: [PATCH] cifs-utils: fix cifsidmap.h comment Date: Wed, 2 Jan 2013 14:12:26 -0500 Message-Id: <1357153946-9300-1-git-send-email-jlayton@samba.org> X-Mailer: git-send-email 1.7.11.7 X-Gm-Message-State: ALoCoQkTG407Rxhy7t6ayD8HgmTCVInBX2RxFConFdh5f/WURz0g8US2fPuNayM+Cjv94dDFfsrt Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org It's actually OK to set this to BOTH. Signed-off-by: Jeff Layton --- cifsidmap.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cifsidmap.h b/cifsidmap.h index e539719..656df86 100644 --- a/cifsidmap.h +++ b/cifsidmap.h @@ -45,10 +45,7 @@ struct cifs_sid { #define CIFS_UXID_TYPE_GID (2) /* mapping is a GID */ #define CIFS_UXID_TYPE_BOTH (3) /* usable as UID or GID */ -/* - * This struct represents both a uid or gid and its type. The type should - * never be set to CIFSIDMAP_BOTH. - */ +/* This struct represents a uid or gid and its type */ struct cifs_uxid { union { uid_t uid;