diff options
Diffstat (limited to 'module/nvpair')
-rw-r--r-- | module/nvpair/nvpair.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/nvpair/nvpair.c b/module/nvpair/nvpair.c index dd8a9420d..6c6a58e85 100644 --- a/module/nvpair/nvpair.c +++ b/module/nvpair/nvpair.c @@ -558,10 +558,10 @@ nvlist_nv_alloc(int kmflag) switch (kmflag) { case KM_SLEEP: return (nv_alloc_sleep); - case KM_PUSHPAGE: - return (nv_alloc_pushpage); - default: + case KM_NOSLEEP: return (nv_alloc_nosleep); + default: + return (nv_alloc_pushpage); } #else return (nv_alloc_nosleep); |