Whamcloud - gitweb
2267997fc08afae3c7acd23b710de8b995a7e7bf
[fs/lustre-release.git] / lustre / include / linux / lustre_acl.h
1 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*- 
2  * vim:expandtab:shiftwidth=8:tabstop=8:
3  *
4  *  Copyright (C) 2002, 2003 Cluster File Systems, Inc.
5  *
6  *   This file is part of Lustre, http://www.lustre.org.
7  *
8  *   Lustre is free software; you can redistribute it and/or
9  *   modify it under the terms of version 2 of the GNU General Public
10  *   License as published by the Free Software Foundation.
11  *
12  *   Lustre is distributed in the hope that it will be useful,
13  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
14  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  *   GNU General Public License for more details.
16  *
17  *   You should have received a copy of the GNU General Public License
18  *   along with Lustre; if not, write to the Free Software
19  *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20  *
21  */ 
22
23 #ifndef _LUSTRE_ACL_H_
24 #define _LUSTRE_ACL_H_
25
26 #include <linux/xattr_acl.h>
27
28 /*
29 * the value of LL_ACL_MAX_ENTRIES and LL_ACL_NOT_CACHED should be 
30 * kept step with related definition in ext3 (EXT3_ACL_MAX_ENTRIES and
31 * EXT3_ACL_NOT_CACHED)
32 */
33 #define LL_ACL_MAX_ENTRIES      32      // EXT3_ACL_MAX_ENTRIES
34 #define LL_ACL_NOT_CACHED       ((void *)-1) //EXT3_ACL_NOT_CACHED
35
36 #endif