diff options
Diffstat (limited to 'net/rds/rdma.c')
-rw-r--r-- | net/rds/rdma.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/rds/rdma.c b/net/rds/rdma.c index 4c64daa1f5d5..61b359d9dffd 100644 --- a/net/rds/rdma.c +++ b/net/rds/rdma.c | |||
@@ -438,8 +438,10 @@ void rds_rdma_free_op(struct rds_rdma_op *ro) | |||
438 | /* Mark page dirty if it was possibly modified, which | 438 | /* Mark page dirty if it was possibly modified, which |
439 | * is the case for a RDMA_READ which copies from remote | 439 | * is the case for a RDMA_READ which copies from remote |
440 | * to local memory */ | 440 | * to local memory */ |
441 | if (!ro->r_write) | 441 | if (!ro->r_write) { |
442 | BUG_ON(in_interrupt()); | ||
442 | set_page_dirty(page); | 443 | set_page_dirty(page); |
444 | } | ||
443 | put_page(page); | 445 | put_page(page); |
444 | } | 446 | } |
445 | 447 | ||