diff options
Diffstat (limited to 'fs/btrfs/acl.c')
| -rw-r--r-- | fs/btrfs/acl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/btrfs/acl.c b/fs/btrfs/acl.c index 89b156d85d63..761e2cd8fed1 100644 --- a/fs/btrfs/acl.c +++ b/fs/btrfs/acl.c | |||
| @@ -227,7 +227,11 @@ int btrfs_init_acl(struct btrfs_trans_handle *trans, | |||
| 227 | if (ret > 0) { | 227 | if (ret > 0) { |
| 228 | /* we need an acl */ | 228 | /* we need an acl */ |
| 229 | ret = btrfs_set_acl(trans, inode, acl, ACL_TYPE_ACCESS); | 229 | ret = btrfs_set_acl(trans, inode, acl, ACL_TYPE_ACCESS); |
| 230 | } else { | ||
| 231 | cache_no_acl(inode); | ||
| 230 | } | 232 | } |
| 233 | } else { | ||
| 234 | cache_no_acl(inode); | ||
| 231 | } | 235 | } |
| 232 | failed: | 236 | failed: |
| 233 | posix_acl_release(acl); | 237 | posix_acl_release(acl); |
