projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] rcu file: use atomic primitives
[linux-2.6-microblaze.git]
/
security
/
selinux
/
hooks.c
diff --git
a/security/selinux/hooks.c
b/security/selinux/hooks.c
index
3d496ea
..
6647204
100644
(file)
--- a/
security/selinux/hooks.c
+++ b/
security/selinux/hooks.c
@@
-1663,7
+1663,7
@@
static inline void flush_unauthorized_files(struct files_struct * files)
continue;
}
if (devnull) {
-
rcuref_inc(&devnull->f_count
);
+
get_file(devnull
);
} else {
devnull = dentry_open(dget(selinux_null), mntget(selinuxfs_mount), O_RDWR);
if (!devnull) {