From patchwork Mon Feb 3 19:31:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tejun Heo X-Patchwork-Id: 3570791 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 758129F382 for ; Mon, 3 Feb 2014 19:31:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9E64620142 for ; Mon, 3 Feb 2014 19:31:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A3B4F200FF for ; Mon, 3 Feb 2014 19:31:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751686AbaBCTbO (ORCPT ); Mon, 3 Feb 2014 14:31:14 -0500 Received: from mail-qa0-f46.google.com ([209.85.216.46]:57185 "EHLO mail-qa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752755AbaBCTbN (ORCPT ); Mon, 3 Feb 2014 14:31:13 -0500 Received: by mail-qa0-f46.google.com with SMTP id ii20so10514396qab.5 for ; Mon, 03 Feb 2014 11:31:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=CfWH0p/Afx4OVQGaJh2OlLXn5/+a7Ntc49gbZdeyBOU=; b=0mAEP2JrLkBvMDdZnc5Xs9CAos6iggS2s0BrIC7T2ozBKHUAfvtALejOwCtWoZ1Vt8 nYZsZFdDTJEZWqq84KCvz9KbZVeUV4i7N5Afo1XpvwISheYLPeIu2ejOCfjmcDxn8VxI YwK5BcMZoFsAk4XRi6/J71Vxog+h9Zbzpmt9wUNcl9zW7K7RqZTFPc4oU40ZwfX2Cmmr +qJ7BG7++FYo/s0JTGec70MpA168JPy05HZGjDGmkGicAWJwyiWaBXdQBGK3b1YVHgSr ycqyp16R0olHh7vqqA0pnOOK/GmbGXtBUIhDe/xnUyL2YX+t+0MsBu8aiA6RMbuOQpDO gDOQ== X-Received: by 10.140.23.6 with SMTP id 6mr55615516qgo.17.1391455872431; Mon, 03 Feb 2014 11:31:12 -0800 (PST) Received: from htj.dyndns.org (207-38-225-25.c3-0.43d-ubr1.qens-43d.ny.cable.rcn.com. [207.38.225.25]) by mx.google.com with ESMTPSA id o10sm59323516qaa.6.2014.02.03.11.31.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Feb 2014 11:31:11 -0800 (PST) Date: Mon, 3 Feb 2014 14:31:07 -0500 From: Tejun Heo To: "J. Bruce Fields" , linux-nfs@vger.kernel.org Cc: Li Zefan , containers@lists.linux-foundation.org, cgroups@vger.kernel.org Subject: [PATCH] nfs: include xattr.h from fs/nfs/nfs3proc.c Message-ID: <20140203193107.GH30250@htj.dyndns.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) 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.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, 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 fs/nfs/nfs3proc.c is making use of xattr but was getting linux/xattr.h indirectly through linux/cgroup.h, which will soon drop the inclusion of xattr.h. Explicitly include linux/xattr.h from nfs3proc.c so that compilation doesn't fail when linux/cgroup.h drops linux/xattr.h. As the following cgroup changes will depend on these changes, it probably would be easier to route this through cgroup branch. Would that be okay? Signed-off-by: Tejun Heo Cc: "J. Bruce Fields" Cc: linux-nfs@vger.kernel.org Acked-by: Trond Myklebust --- fs/nfs/nfs3proc.c | 1 + 1 file changed, 1 insertion(+) -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/fs/nfs/nfs3proc.c +++ b/fs/nfs/nfs3proc.c @@ -18,6 +18,7 @@ #include #include #include +#include #include "iostat.h" #include "internal.h"