diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-08-03 03:14:05 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-08-03 03:14:05 -0400 |
commit | ed8f37370d83e695c0a4fa5d5fc7a83ecb947526 (patch) | |
tree | 2e57247c609a495b31892b2d05ea52e35556ab60 /fs/btrfs/acl.c | |
parent | a6b11f53388973d99c4a357c22b19753b424e73c (diff) | |
parent | 0d10ee2e6deb5c8409ae65b970846344897d5e4e (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable: (31 commits)
Btrfs: don't call writepages from within write_full_page
Btrfs: Remove unused variable 'last_index' in file.c
Btrfs: clean up for find_first_extent_bit()
Btrfs: clean up for wait_extent_bit()
Btrfs: clean up for insert_state()
Btrfs: remove unused members from struct extent_state
Btrfs: clean up code for merging extent maps
Btrfs: clean up code for extent_map lookup
Btrfs: clean up search_extent_mapping()
Btrfs: remove redundant code for dir item lookup
Btrfs: make acl functions really no-op if acl is not enabled
Btrfs: remove remaining ref-cache code
Btrfs: remove a BUG_ON() in btrfs_commit_transaction()
Btrfs: use wait_event()
Btrfs: check the nodatasum flag when writing compressed files
Btrfs: copy string correctly in INO_LOOKUP ioctl
Btrfs: don't print the leaf if we had an error
btrfs: make btrfs_set_root_node void
Btrfs: fix oops while writing data to SSD partitions
Btrfs: Protect the readonly flag of block group
...
Fix up trivial conflicts (due to acl and writeback cleanups) in
- fs/btrfs/acl.c
- fs/btrfs/ctree.h
- fs/btrfs/extent_io.c
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 */ | ||