diff options
Diffstat (limited to 'fs/btrfs/acl.c')
-rw-r--r-- | fs/btrfs/acl.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/fs/btrfs/acl.c b/fs/btrfs/acl.c index 4cc5c0164ed6..eb159aaa5a11 100644 --- a/fs/btrfs/acl.c +++ b/fs/btrfs/acl.c | |||
@@ -28,8 +28,6 @@ | |||
28 | #include "btrfs_inode.h" | 28 | #include "btrfs_inode.h" |
29 | #include "xattr.h" | 29 | #include "xattr.h" |
30 | 30 | ||
31 | #ifdef CONFIG_BTRFS_FS_POSIX_ACL | ||
32 | |||
33 | struct posix_acl *btrfs_get_acl(struct inode *inode, int type) | 31 | struct posix_acl *btrfs_get_acl(struct inode *inode, int type) |
34 | { | 32 | { |
35 | int size; | 33 | int size; |
@@ -276,18 +274,3 @@ const struct xattr_handler btrfs_xattr_acl_access_handler = { | |||
276 | .get = btrfs_xattr_acl_get, | 274 | .get = btrfs_xattr_acl_get, |
277 | .set = btrfs_xattr_acl_set, | 275 | .set = btrfs_xattr_acl_set, |
278 | }; | 276 | }; |
279 | |||
280 | #else /* CONFIG_BTRFS_FS_POSIX_ACL */ | ||
281 | |||
282 | int btrfs_acl_chmod(struct inode *inode) | ||
283 | { | ||
284 | return 0; | ||
285 | } | ||
286 | |||
287 | int btrfs_init_acl(struct btrfs_trans_handle *trans, | ||
288 | struct inode *inode, struct inode *dir) | ||
289 | { | ||
290 | return 0; | ||
291 | } | ||
292 | |||
293 | #endif /* CONFIG_BTRFS_FS_POSIX_ACL */ | ||