Files
kernel_arpi/include/linux
Tejun Heo 36aa9e5f59 blkcg: move body parsing from blkg_conf_prep() to its callers
Currently, blkg_conf_prep() expects input to be of the following form

 MAJ:MIN NUM

and reads the NUM part into blkg_conf_ctx->v.  This is quite
restrictive and gets in the way in implementing blkcg interface for
the unified hierarchy.  This patch updates blkg_conf_prep() so that it
expects

 MAJ:MIN BODY_STR

where BODY_STR is an arbitrary string.  blkg_conf_ctx->v is replaced
with ->body which is a char pointer pointing to the start of BODY_STR.
Parsing of the body is moved to blkg_conf_prep()'s callers.

To allow using, for example, strsep() on blkg_conf_ctx->val, it is a
non-const pointer and to accommodate that const is dropped from @input
too.

This doesn't cause any behavior changes.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
2015-08-18 15:49:18 -07:00
..
2015-07-17 16:39:53 -07:00
2015-06-25 11:49:31 +03:00
2015-07-07 22:48:25 +02:00
2015-06-24 17:49:45 -07:00
2015-06-25 12:06:45 +02:00
2015-08-18 15:49:15 -07:00
2015-06-24 17:49:41 -07:00
2015-06-25 04:20:04 -04:00
2015-07-04 14:04:44 -04:00
2015-06-25 01:13:43 +02:00
2015-06-23 18:01:07 -04:00
2015-06-29 10:49:51 -07:00
2015-06-25 17:00:40 -07:00
2015-06-25 17:00:39 -07:00
2015-06-25 17:00:37 -07:00