git://git.camperquake.de
/
zfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix gcc array subscript above bounds warning
[zfs.git]
/
module
/
zfs
/
dmu_zfetch.c
diff --git
a/module/zfs/dmu_zfetch.c
b/module/zfs/dmu_zfetch.c
index
897ea8a
..
1763bae
100644
(file)
--- a/
module/zfs/dmu_zfetch.c
+++ b/
module/zfs/dmu_zfetch.c
@@
-699,7
+699,7
@@
dmu_zfetch(zfetch_t *zf, uint64_t offset, uint64_t size, int prefetched)
if (cur_streams >= max_streams) {
return;
}
- newstream = kmem_zalloc(sizeof (zstream_t), KM_
SLEEP
);
+ newstream = kmem_zalloc(sizeof (zstream_t), KM_
PUSHPAGE
);
}
newstream->zst_offset = zst.zst_offset;