projects
/
linux-drm-fsl-dcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge commit 'v2.6.35' into kbuild/kbuild
[linux-drm-fsl-dcu.git]
/
net
/
rds
/
rdma.c
diff --git
a/net/rds/rdma.c
b/net/rds/rdma.c
index 5ce9437cad672168825e78f43fb1fe38e8ce2b20..75fd13bb631bbc06bf8493c06c266951b6e47c95 100644
(file)
--- a/
net/rds/rdma.c
+++ b/
net/rds/rdma.c
@@
-439,8
+439,10
@@
void rds_rdma_free_op(struct rds_rdma_op *ro)
/* Mark page dirty if it was possibly modified, which
* is the case for a RDMA_READ which copies from remote
* to local memory */
- if (!ro->r_write)
+ if (!ro->r_write) {
+ BUG_ON(in_interrupt());
set_page_dirty(page);
+ }
put_page(page);
}