projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] files: fix preemption issues
[deliverable/linux.git]
/
kernel
/
exit.c
diff --git
a/kernel/exit.c
b/kernel/exit.c
index 6d2089a1bce74614009acfb18f1e3b95458e90cf..ee6d8b8abef5454fc2e224fdfbdf12a332591c6e 100644
(file)
--- a/
kernel/exit.c
+++ b/
kernel/exit.c
@@
-371,6
+371,12
@@
static inline void close_files(struct files_struct * files)
struct fdtable *fdt;
j = 0;
+
+ /*
+ * It is safe to dereference the fd table without RCU or
+ * ->file_lock because this is the last reference to the
+ * files structure.
+ */
fdt = files_fdtable(files);
for (;;) {
unsigned long set;
This page took
0.028781 seconds
and
5
git commands to generate.