David Sterba
de2491fdef
btrfs: scrub: add memalloc_nofs protection around init_ipath
...
init_ipath is called from a safe ioctl context and from scrub when
printing an error. The protection is added for three reasons:
* init_data_container calls vmalloc and this does not work as expected
in the GFP_NOFS context, so this silently does GFP_KERNEL and might
deadlock in some cases
* keep the context constraint of GFP_NOFS, used by scrub
* we want to use GFP_KERNEL unconditionally inside init_ipath or its
callees
Reviewed-by: Anand Jain <anand.jain@oracle.com >
Signed-off-by: David Sterba <dsterba@suse.com >
2017-06-19 18:26:02 +02:00
..
2017-06-19 18:25:58 +02:00
2016-09-22 10:55:32 +02:00
2017-01-09 11:24:50 +01:00
2016-12-13 11:01:30 -08:00
2017-04-18 14:07:25 +02:00
2015-01-14 19:23:47 +01:00
2017-04-26 16:27:26 +01:00
2017-06-19 18:26:01 +02:00
2016-12-06 16:06:59 +01:00
2017-06-19 18:26:00 +02:00
2017-06-19 18:26:00 +02:00
2017-06-19 18:26:00 +02:00
2017-06-19 18:26:01 +02:00
2016-07-26 13:52:25 +02:00
2017-04-18 14:07:23 +02:00
2017-04-18 14:07:23 +02:00
2017-04-18 14:07:23 +02:00
2017-04-18 14:07:23 +02:00
2017-04-18 14:07:26 +02:00
2017-02-28 14:26:07 +01:00
2017-06-09 12:48:07 -07:00
2017-06-19 18:26:01 +02:00
2017-06-19 18:26:01 +02:00
2017-02-14 15:50:51 +01:00
2017-06-19 18:26:00 +02:00
2017-06-19 18:25:59 +02:00
2017-04-18 14:07:23 +02:00
2017-04-18 14:07:23 +02:00
2017-06-19 18:26:00 +02:00
2017-06-19 18:25:59 +02:00
2017-04-27 14:13:09 -07:00
2017-04-18 14:07:26 +02:00
2017-02-17 12:03:56 +01:00
2017-06-19 18:26:01 +02:00
2015-12-17 12:16:47 -08:00
2017-06-08 17:36:03 +08:00
2016-06-06 14:08:28 +02:00
2016-12-06 16:06:59 +01:00
2017-02-28 11:30:07 +01:00
2016-01-15 19:25:02 +01:00
2017-06-19 18:26:01 +02:00
2017-06-19 18:25:58 +02:00
2015-01-06 11:04:29 -08:00
2016-01-07 14:30:52 +01:00
2014-11-19 10:34:35 -08:00
2017-06-19 18:26:01 +02:00
2015-12-17 12:16:47 -08:00
2015-03-03 17:23:57 +01:00
2017-04-18 14:07:23 +02:00
2017-04-18 14:07:23 +02:00
2014-09-17 13:37:12 -07:00
2017-06-19 18:26:00 +02:00
2016-12-06 16:06:59 +01:00
2017-02-14 15:50:51 +01:00
2017-06-19 18:25:58 +02:00
2017-04-18 14:07:26 +02:00
2017-06-19 18:26:01 +02:00
2016-12-06 16:06:59 +01:00
2017-06-19 18:25:59 +02:00
2017-06-19 18:25:58 +02:00
2017-04-18 14:07:27 +02:00
2017-06-19 18:26:02 +02:00
2017-06-19 18:26:02 +02:00
2016-01-07 14:38:02 +01:00
2016-05-25 22:35:14 +02:00
2017-06-19 18:25:59 +02:00
2017-06-19 18:25:58 +02:00
2016-01-21 18:50:40 +01:00
2017-06-19 18:26:01 +02:00
2017-04-18 14:07:25 +02:00
2015-12-18 02:51:32 +00:00
2017-04-18 14:07:23 +02:00
2017-02-14 15:50:54 +01:00
2017-02-17 12:03:50 +01:00
2017-02-17 12:03:50 +01:00
2016-12-19 18:08:15 +01:00
2017-06-19 18:25:59 +02:00
2017-06-19 18:25:59 +02:00
2017-02-14 15:50:57 +01:00
2016-05-17 19:17:09 -04:00
2017-06-19 18:26:00 +02:00