projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tools headers UAPI: Sync linux/prctl.h with the kernel sources
[linux-2.6-microblaze.git]
/
lib
/
sg_pool.c
diff --git
a/lib/sg_pool.c
b/lib/sg_pool.c
index
db29e5c
..
a0b1a52
100644
(file)
--- a/
lib/sg_pool.c
+++ b/
lib/sg_pool.c
@@
-90,7
+90,8
@@
void sg_free_table_chained(struct sg_table *table,
if (nents_first_chunk == 1)
nents_first_chunk = 0;
if (nents_first_chunk == 1)
nents_first_chunk = 0;
- __sg_free_table(table, SG_CHUNK_SIZE, nents_first_chunk, sg_pool_free);
+ __sg_free_table(table, SG_CHUNK_SIZE, nents_first_chunk, sg_pool_free,
+ table->orig_nents);
}
EXPORT_SYMBOL_GPL(sg_free_table_chained);
}
EXPORT_SYMBOL_GPL(sg_free_table_chained);