aboutsummaryrefslogtreecommitdiffstats
path: root/fs/f2fs/xattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/f2fs/xattr.c')
-rw-r--r--fs/f2fs/xattr.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/fs/f2fs/xattr.c b/fs/f2fs/xattr.c
index aa7a3f139fe5..e2b929954081 100644
--- a/fs/f2fs/xattr.c
+++ b/fs/f2fs/xattr.c
@@ -21,6 +21,7 @@
21#include <linux/rwsem.h> 21#include <linux/rwsem.h>
22#include <linux/f2fs_fs.h> 22#include <linux/f2fs_fs.h>
23#include <linux/security.h> 23#include <linux/security.h>
24#include <linux/posix_acl_xattr.h>
24#include "f2fs.h" 25#include "f2fs.h"
25#include "xattr.h" 26#include "xattr.h"
26 27
@@ -216,8 +217,8 @@ const struct xattr_handler f2fs_xattr_security_handler = {
216static const struct xattr_handler *f2fs_xattr_handler_map[] = { 217static const struct xattr_handler *f2fs_xattr_handler_map[] = {
217 [F2FS_XATTR_INDEX_USER] = &f2fs_xattr_user_handler, 218 [F2FS_XATTR_INDEX_USER] = &f2fs_xattr_user_handler,
218#ifdef CONFIG_F2FS_FS_POSIX_ACL 219#ifdef CONFIG_F2FS_FS_POSIX_ACL
219 [F2FS_XATTR_INDEX_POSIX_ACL_ACCESS] = &f2fs_xattr_acl_access_handler, 220 [F2FS_XATTR_INDEX_POSIX_ACL_ACCESS] = &posix_acl_access_xattr_handler,
220 [F2FS_XATTR_INDEX_POSIX_ACL_DEFAULT] = &f2fs_xattr_acl_default_handler, 221 [F2FS_XATTR_INDEX_POSIX_ACL_DEFAULT] = &posix_acl_default_xattr_handler,
221#endif 222#endif
222 [F2FS_XATTR_INDEX_TRUSTED] = &f2fs_xattr_trusted_handler, 223 [F2FS_XATTR_INDEX_TRUSTED] = &f2fs_xattr_trusted_handler,
223#ifdef CONFIG_F2FS_FS_SECURITY 224#ifdef CONFIG_F2FS_FS_SECURITY
@@ -229,8 +230,8 @@ static const struct xattr_handler *f2fs_xattr_handler_map[] = {
229const struct xattr_handler *f2fs_xattr_handlers[] = { 230const struct xattr_handler *f2fs_xattr_handlers[] = {
230 &f2fs_xattr_user_handler, 231 &f2fs_xattr_user_handler,
231#ifdef CONFIG_F2FS_FS_POSIX_ACL 232#ifdef CONFIG_F2FS_FS_POSIX_ACL
232 &f2fs_xattr_acl_access_handler, 233 &posix_acl_access_xattr_handler,
233 &f2fs_xattr_acl_default_handler, 234 &posix_acl_default_xattr_handler,
234#endif 235#endif
235 &f2fs_xattr_trusted_handler, 236 &f2fs_xattr_trusted_handler,
236#ifdef CONFIG_F2FS_FS_SECURITY 237#ifdef CONFIG_F2FS_FS_SECURITY