Return-Path: Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111]) by oss.sgi.com (Postfix) with ESMTP id D87377F6B for ; Thu, 3 Sep 2015 05:33:21 -0500 (CDT) Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by relay1.corp.sgi.com (Postfix) with ESMTP id C98418F8052 for ; Thu, 3 Sep 2015 03:33:18 -0700 (PDT) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id XPlMDCjetNbNpGz4 (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Thu, 03 Sep 2015 03:33:18 -0700 (PDT) From: Jan Tulak Subject: [PATCH 02a/11] xfsprogs: Add XATTR_LIST_MAX to OS X headers Date: Thu, 3 Sep 2015 12:33:09 +0200 Message-Id: <1441276391-23587-1-git-send-email-jtulak@redhat.com> In-Reply-To: <1440655340-27550-1-git-send-email-jtulak@redhat.com> References: <1440655340-27550-1-git-send-email-jtulak@redhat.com> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: xfs@oss.sgi.com Cc: hch@infradead.org, Jan Tulak OS X has no XATTR_LIST_MAX value. So add it to the platform header. Signed-off-by: Jan Tulak --- include/darwin.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/darwin.h b/include/darwin.h index b904898..4b7ba3a 100644 --- a/include/darwin.h +++ b/include/darwin.h @@ -39,6 +39,11 @@ # ifndef SYS_fsctl # define SYS_fsctl 242 # endif + +#ifndef XATTR_LIST_MAX +#define XATTR_LIST_MAX 65536 +#endif + static __inline__ int xfsctl(const char *path, int fd, int cmd, void *p) { return syscall(SYS_fsctl, path, cmd, p, 0); -- 2.4.5 _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs