projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f046011
)
RDS: properly use sg_init_table
author
Chris Mason
<chris.mason@oracle.com>
Tue, 20 Jul 2010 00:02:41 +0000
(17:02 -0700)
committer
Andy Grover
<andy.grover@oracle.com>
Thu, 9 Sep 2010 01:16:41 +0000
(18:16 -0700)
This is only needed to keep debugging code from bugging.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
net/rds/ib_recv.c
patch
|
blob
|
blame
|
history
diff --git
a/net/rds/ib_recv.c
b/net/rds/ib_recv.c
index f25c4837d2f6cd85b14bdb09fa4ba84efc237ea6..a2f5f6faf35c846f13159bf76485944f46752a90 100644
(file)
--- a/
net/rds/ib_recv.c
+++ b/
net/rds/ib_recv.c
@@
-282,6
+282,7
@@
static struct rds_page_frag *rds_ib_refill_one_frag(struct rds_ib_connection *ic
if (!frag)
return NULL;
+ sg_init_table(&frag->f_sg, 1);
ret = rds_page_remainder_alloc(&frag->f_sg,
RDS_FRAG_SIZE, page_mask);
if (ret) {