]> git.karo-electronics.de Git - linux-beck.git/blobdiff - include/linux/fdtable.h
Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-beck.git] / include / linux / fdtable.h
index 551671e879278fbf60322f35ff40da54a8141327..f59ed297b661fceb086a6ca188b54c3ff0006f85 100644 (file)
@@ -62,7 +62,8 @@ struct files_struct {
        (rcu_dereference_check((fdtfd), \
                               rcu_read_lock_held() || \
                               lockdep_is_held(&(files)->file_lock) || \
-                              atomic_read(&(files)->count) == 1))
+                              atomic_read(&(files)->count) == 1 || \
+                              rcu_my_thread_group_empty()))
 
 #define files_fdtable(files) \
                (rcu_dereference_check_fdtable((files), (files)->fdt))