git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Btrfs: tune the chunk allocation to 5% of the FS as metadata
[pandora-kernel.git]
/
kernel
/
kfifo.c
diff --git
a/kernel/kfifo.c
b/kernel/kfifo.c
index
6b5580c
..
01a0700
100644
(file)
--- a/
kernel/kfifo.c
+++ b/
kernel/kfifo.c
@@
-365,8
+365,6
@@
static unsigned int setup_sgl(struct __kfifo *fifo, struct scatterlist *sgl,
n = setup_sgl_buf(sgl, fifo->data + off, nents, l);
n += setup_sgl_buf(sgl + n, fifo->data, nents - n, len - l);
- if (n)
- sg_mark_end(sgl + n - 1);
return n;
}