From: Andrew Morton Cc: Nick Piggin Cc: "Paul E. McKenney" Signed-off-by: Andrew Morton --- security/selinux/hooks.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN security/selinux/hooks.c~rcu-file-use-atomic-primitives-tidy security/selinux/hooks.c --- devel/security/selinux/hooks.c~rcu-file-use-atomic-primitives-tidy 2005-11-22 22:30:44.000000000 -0800 +++ devel-akpm/security/selinux/hooks.c 2005-11-22 22:30:45.000000000 -0800 @@ -1663,7 +1663,7 @@ static inline void flush_unauthorized_fi continue; } if (devnull) { - atomic_inc(&devnull->f_count); + get_file(devnull); } else { devnull = dentry_open(dget(selinux_null), mntget(selinuxfs_mount), O_RDWR); if (!devnull) { _