git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git]
/
fs
/
file.c
diff --git
a/fs/file.c
b/fs/file.c
index eb56a13dab3ed5561a9521b2b2d1a6000a7158a3..b61293badfb1a9c98742a5bcc790751979251741 100644
(file)
--- a/
fs/file.c
+++ b/
fs/file.c
@@
-497,7
+497,7
@@
repeat:
error = fd;
#if 1
/* Sanity check */
- if (rcu_
dereference_raw
(fdt->fd[fd]) != NULL) {
+ if (rcu_
access_pointer
(fdt->fd[fd]) != NULL) {
printk(KERN_WARNING "alloc_fd: slot %d not NULL!\n", fd);
rcu_assign_pointer(fdt->fd[fd], NULL);
}