aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/acl.h
diff options
context:
space:
mode:
authorTiger Yang <tiger.yang@oracle.com>2008-11-13 22:17:18 -0500
committerMark Fasheh <mfasheh@suse.com>2009-01-05 11:34:20 -0500
commit23fc2702bea686569281708ad519b41a11d0a2f4 (patch)
treea567f38647047836332d1cfc17d7ad0be05c55ef /fs/ocfs2/acl.h
parent929fb014e041c6572c5e8c3686f1e32742b5b953 (diff)
ocfs2: add ocfs2_check_acl
This function is used to enhance permission checking with POSIX ACLs. Signed-off-by: Tiger Yang <tiger.yang@oracle.com> Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/ocfs2/acl.h')
-rw-r--r--fs/ocfs2/acl.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/fs/ocfs2/acl.h b/fs/ocfs2/acl.h
index 1b39f3e14c1..fef10f1b782 100644
--- a/fs/ocfs2/acl.h
+++ b/fs/ocfs2/acl.h
@@ -26,4 +26,14 @@ struct ocfs2_acl_entry {
26 __le32 e_id; 26 __le32 e_id;
27}; 27};
28 28
29#ifdef CONFIG_OCFS2_FS_POSIX_ACL
30
31extern int ocfs2_check_acl(struct inode *, int);
32
33#else /* CONFIG_OCFS2_FS_POSIX_ACL*/
34
35#define ocfs2_check_acl NULL
36
37#endif /* CONFIG_OCFS2_FS_POSIX_ACL*/
38
29#endif /* OCFS2_ACL_H */ 39#endif /* OCFS2_ACL_H */