diff options
author | Christoph Hellwig <hch@infradead.org> | 2013-12-20 08:16:40 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-01-25 23:58:17 -0500 |
commit | 2aeccbe957d0d2b9fbb2a236e53a955097e2a9ce (patch) | |
tree | b07768d451a0d4b4be65096f9462660e856e6798 /include/linux/posix_acl_xattr.h | |
parent | 893d46e443346370cd4ea81d9d35f72952c62a37 (diff) |
fs: add generic xattr_acl handlers
With the ->set_acl inode operation we can implement the Posix ACL
xattr handlers in generic code instead of duplicating them all
over the tree.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/posix_acl_xattr.h')
-rw-r--r-- | include/linux/posix_acl_xattr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/posix_acl_xattr.h b/include/linux/posix_acl_xattr.h index ad93ad0f1db0..6f14ee295822 100644 --- a/include/linux/posix_acl_xattr.h +++ b/include/linux/posix_acl_xattr.h | |||
@@ -69,4 +69,7 @@ struct posix_acl *posix_acl_from_xattr(struct user_namespace *user_ns, | |||
69 | int posix_acl_to_xattr(struct user_namespace *user_ns, | 69 | int posix_acl_to_xattr(struct user_namespace *user_ns, |
70 | const struct posix_acl *acl, void *buffer, size_t size); | 70 | const struct posix_acl *acl, void *buffer, size_t size); |
71 | 71 | ||
72 | extern const struct xattr_handler posix_acl_access_xattr_handler; | ||
73 | extern const struct xattr_handler posix_acl_default_xattr_handler; | ||
74 | |||
72 | #endif /* _POSIX_ACL_XATTR_H */ | 75 | #endif /* _POSIX_ACL_XATTR_H */ |