.. | .. |
---|
333 | 333 | if (!(grp_time = msecs_to_jiffies(lifetime_ms) / grp_count)) |
---|
334 | 334 | return -EINVAL; |
---|
335 | 335 | |
---|
336 | | - if (!(mru = kmem_zalloc(sizeof(*mru), KM_SLEEP))) |
---|
| 336 | + if (!(mru = kmem_zalloc(sizeof(*mru), 0))) |
---|
337 | 337 | return -ENOMEM; |
---|
338 | 338 | |
---|
339 | 339 | /* An extra list is needed to avoid reaping up to a grp_time early. */ |
---|
340 | 340 | mru->grp_count = grp_count + 1; |
---|
341 | | - mru->lists = kmem_zalloc(mru->grp_count * sizeof(*mru->lists), KM_SLEEP); |
---|
| 341 | + mru->lists = kmem_zalloc(mru->grp_count * sizeof(*mru->lists), 0); |
---|
342 | 342 | |
---|
343 | 343 | if (!mru->lists) { |
---|
344 | 344 | err = -ENOMEM; |
---|