aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nfsacl.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-03-14 12:00:18 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-03-14 12:00:18 -0700
commitf1823acfbcc7d29029d6db757644bc820664af37 (patch)
treebf7839d0976f90c638b4f7806be8ee16f3b786a7 /include/linux/nfsacl.h
parentff9cb43ce09a9069f0ec95375d2f403578ec4977 (diff)
parent9f4c899c0d90e1b51b6864834f3877b47c161a0e (diff)
downloadkernel_samsung_crespo-f1823acfbcc7d29029d6db757644bc820664af37.zip
kernel_samsung_crespo-f1823acfbcc7d29029d6db757644bc820664af37.tar.gz
kernel_samsung_crespo-f1823acfbcc7d29029d6db757644bc820664af37.tar.bz2
Merge branch 'bugfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6
* 'bugfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6: NFS: Fix the fix to Bugzilla #11061, when IPv6 isn't defined... SUNRPC: xprt_connect() don't abort the task if the transport isn't bound SUNRPC: Fix an Oops due to socket not set up yet... Bug 11061, NFS mounts dropped NFS: Handle -ESTALE error in access() NLM: Fix GRANT callback address comparison when IPv6 is enabled NLM: Shrink the IPv4-only version of nlm_cmp_addr() NFSv3: Fix posix ACL code NFS: Fix misparsing of nfsv4 fs_locations attribute (take 2) SUNRPC: Tighten up the task locking rules in __rpc_execute()
Diffstat (limited to 'include/linux/nfsacl.h')
-rw-r--r--include/linux/nfsacl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/nfsacl.h b/include/linux/nfsacl.h
index 54487a9..43011b6 100644
--- a/include/linux/nfsacl.h
+++ b/include/linux/nfsacl.h
@@ -37,6 +37,9 @@
#define NFSACL_MAXPAGES ((2*(8+12*NFS_ACL_MAX_ENTRIES) + PAGE_SIZE-1) \
>> PAGE_SHIFT)
+#define NFS_ACL_MAX_ENTRIES_INLINE (5)
+#define NFS_ACL_INLINE_BUFSIZE ((2*(2+3*NFS_ACL_MAX_ENTRIES_INLINE)) << 2)
+
static inline unsigned int
nfsacl_size(struct posix_acl *acl_access, struct posix_acl *acl_default)
{