summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-07-12 16:49:01 +0900
committerLinus Torvalds <torvalds@linux-foundation.org>2016-07-12 16:49:01 +0900
commit08d27eb2066622cd659b91d877d0406ebd651225 (patch)
treecad7f2c4efa8e503a2cc301a2d454fb9bff1c6c0 /include
parent92d21ac74a9e3c09b0b01c764e530657e4c85c49 (diff)
parent6d4e56ce977864b0fcd28c61555060e6010aa89b (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull vfs fixes from Al Viro. * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: posix_acl: de-union a_refcount and a_rcu nfs_atomic_open(): prevent parallel nfs_lookup() on a negative hashed Use the right predicate in ->atomic_open() instances
Diffstat (limited to 'include')
-rw-r--r--include/linux/posix_acl.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/posix_acl.h b/include/linux/posix_acl.h
index 5b5a80cc5926..c818772d9f9d 100644
--- a/include/linux/posix_acl.h
+++ b/include/linux/posix_acl.h
@@ -43,10 +43,8 @@ struct posix_acl_entry {
};
struct posix_acl {
- union {
- atomic_t a_refcount;
- struct rcu_head a_rcu;
- };
+ atomic_t a_refcount;
+ struct rcu_head a_rcu;
unsigned int a_count;
struct posix_acl_entry a_entries[0];
};