From patchwork Wed Oct 2 14:36:29 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benny Halevy X-Patchwork-Id: 2975401 Return-Path: X-Original-To: patchwork-linux-nfs@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 6AC89BFF0B for ; Wed, 2 Oct 2013 14:36:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EBC1D2029B for ; Wed, 2 Oct 2013 14:36:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C1D922017D for ; Wed, 2 Oct 2013 14:36:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753856Ab3JBOgh (ORCPT ); Wed, 2 Oct 2013 10:36:37 -0400 Received: from mail-we0-f170.google.com ([74.125.82.170]:36611 "EHLO mail-we0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753714Ab3JBOge (ORCPT ); Wed, 2 Oct 2013 10:36:34 -0400 Received: by mail-we0-f170.google.com with SMTP id u57so198806wes.29 for ; Wed, 02 Oct 2013 07:36:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type; bh=wOZlUSawi9O5Fd/0kPYblEyg83F/12zibN/vYNBJcR4=; b=UfQPZdC4CNLtzNXMup+KTPs0rd9KOsuULjCd++uIC8noMMb02aVwp8vWzDdXl+3Lss 6E3z8ztOYGKRBF8DxZ3P6F4CPcPncPVntkiNRU8+HWC7lOYzHb4Z9G7rD6XNyFh2dQ0q rjaZ7ST2ZoDjj72Fljicx+yxvFNeWpNrc8dmnjZD61b7R+zMY7LOdf7eRqh6RKlfMy6c hOPOFJfW2uFqFUbbRtrPCBx9ifkd1FjDTROl79l+TJc7v20gShKB50Uo1elYBSYynDHZ BJ+U/FIHUyMdnJqxaAx9adkHkNfQayzJ+nLLVlCTxxt/y/yT+4WYXNLYPy7yTkN9mebV yycg== X-Gm-Message-State: ALoCoQklYjLi1ivZIGmQqj7kYhw2JT6I+QdQxsLCWkZM+LYvKbIib9evRANAMGPOaH0n5OLhVtFh X-Received: by 10.194.122.33 with SMTP id lp1mr2066224wjb.56.1380724593238; Wed, 02 Oct 2013 07:36:33 -0700 (PDT) Received: from bhalevy-lt.il.tonian.com (bzq-80-49-130.static.bezeqint.net. [82.80.49.130]) by mx.google.com with ESMTPSA id i8sm4159190wiy.6.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 02 Oct 2013 07:36:32 -0700 (PDT) Message-ID: <524C2F6D.1060703@primarydata.com> Date: Wed, 02 Oct 2013 17:36:29 +0300 From: Benny Halevy User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8 MIME-Version: 1.0 To: Alexander Viro CC: linux-fsdevel@vger.kernel.org, NFS list , Christoph Hellwig Subject: [PATCH] posix_acl: resolve compile dependency in posix_acl.h References: <1380220974-14716-1-git-send-email-bhalevy@primarydata.com> In-Reply-To: <1380220974-14716-1-git-send-email-bhalevy@primarydata.com> X-Forwarded-Message-Id: <1380220974-14716-1-git-send-email-bhalevy@primarydata.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=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_TVD_MIME_EPI, 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: Benny Halevy get_cached_acl is defined as inline in posix_acl.h requiring the full definition of struct inode as it dereferences its struct inode * parameter. Cc: Alexander Viro Cc: linux-fsdevel@vger.kernel.org Cc: J. Bruce Fields Cc: Trond Myklebust Signed-off-by: Benny Halevy Signed-off-by: Benny Halevy --- include/linux/posix_acl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/posix_acl.h b/include/linux/posix_acl.h index 7931efe..a7d8b04 100644 --- a/include/linux/posix_acl.h +++ b/include/linux/posix_acl.h @@ -9,6 +9,7 @@ #define __LINUX_POSIX_ACL_H #include +#include #include #include