diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-28 11:38:04 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-28 11:38:04 -0500 |
commit | bf3d846b783327359ddc4bd4f52627b36abb4d1d (patch) | |
tree | c6b8fddbf04a2962dfcf9f487af25033f11b10b9 /fs/f2fs/xattr.c | |
parent | 54c0a4b46150db1571d955d598cd342c9f1d9657 (diff) | |
parent | f6500801522c61782d4990fa1ad96154cb397cd4 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull vfs updates from Al Viro:
"Assorted stuff; the biggest pile here is Christoph's ACL series. Plus
assorted cleanups and fixes all over the place...
There will be another pile later this week"
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: (43 commits)
__dentry_path() fixes
vfs: Remove second variable named error in __dentry_path
vfs: Is mounted should be testing mnt_ns for NULL or error.
Fix race when checking i_size on direct i/o read
hfsplus: remove can_set_xattr
nfsd: use get_acl and ->set_acl
fs: remove generic_acl
nfs: use generic posix ACL infrastructure for v3 Posix ACLs
gfs2: use generic posix ACL infrastructure
jfs: use generic posix ACL infrastructure
xfs: use generic posix ACL infrastructure
reiserfs: use generic posix ACL infrastructure
ocfs2: use generic posix ACL infrastructure
jffs2: use generic posix ACL infrastructure
hfsplus: use generic posix ACL infrastructure
f2fs: use generic posix ACL infrastructure
ext2/3/4: use generic posix ACL infrastructure
btrfs: use generic posix ACL infrastructure
fs: make posix_acl_create more useful
fs: make posix_acl_chmod more useful
...
Diffstat (limited to 'fs/f2fs/xattr.c')
-rw-r--r-- | fs/f2fs/xattr.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/fs/f2fs/xattr.c b/fs/f2fs/xattr.c index b0fb8a27f3da..89d0422a91a8 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 = { | |||
216 | static const struct xattr_handler *f2fs_xattr_handler_map[] = { | 217 | static 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[] = { | |||
229 | const struct xattr_handler *f2fs_xattr_handlers[] = { | 230 | const 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 |