projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] gfp_t: block layer core
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
block
/
cfq-iosched.c
diff --git
a/drivers/block/cfq-iosched.c
b/drivers/block/cfq-iosched.c
index cd056e7e64ec15d5cf81f16068623e29e07ad187..d3bfe8cfb0397023fcee75237b3350f0eba0a705 100644
(file)
--- a/
drivers/block/cfq-iosched.c
+++ b/
drivers/block/cfq-iosched.c
@@
-1422,7
+1422,7
@@
static void cfq_exit_io_context(struct cfq_io_context *cic)
}
static struct cfq_io_context *
}
static struct cfq_io_context *
-cfq_alloc_io_context(struct cfq_data *cfqd,
in
t gfp_mask)
+cfq_alloc_io_context(struct cfq_data *cfqd,
gfp_
t gfp_mask)
{
struct cfq_io_context *cic = kmem_cache_alloc(cfq_ioc_pool, gfp_mask);
{
struct cfq_io_context *cic = kmem_cache_alloc(cfq_ioc_pool, gfp_mask);
@@
-1517,7
+1517,7
@@
static int cfq_ioc_set_ioprio(struct io_context *ioc, unsigned int ioprio)
static struct cfq_queue *
cfq_get_queue(struct cfq_data *cfqd, unsigned int key, unsigned short ioprio,
static struct cfq_queue *
cfq_get_queue(struct cfq_data *cfqd, unsigned int key, unsigned short ioprio,
-
in
t gfp_mask)
+
gfp_
t gfp_mask)
{
const int hashval = hash_long(key, CFQ_QHASH_SHIFT);
struct cfq_queue *cfqq, *new_cfqq = NULL;
{
const int hashval = hash_long(key, CFQ_QHASH_SHIFT);
struct cfq_queue *cfqq, *new_cfqq = NULL;
@@
-1578,7
+1578,7
@@
out:
* cfqq, so we don't need to worry about it disappearing
*/
static struct cfq_io_context *
* cfqq, so we don't need to worry about it disappearing
*/
static struct cfq_io_context *
-cfq_get_io_context(struct cfq_data *cfqd, pid_t pid,
in
t gfp_mask)
+cfq_get_io_context(struct cfq_data *cfqd, pid_t pid,
gfp_
t gfp_mask)
{
struct io_context *ioc = NULL;
struct cfq_io_context *cic;
{
struct io_context *ioc = NULL;
struct cfq_io_context *cic;
@@
-2075,7
+2075,7
@@
static void cfq_put_request(request_queue_t *q, struct request *rq)
*/
static int
cfq_set_request(request_queue_t *q, struct request *rq, struct bio *bio,
*/
static int
cfq_set_request(request_queue_t *q, struct request *rq, struct bio *bio,
-
in
t gfp_mask)
+
gfp_
t gfp_mask)
{
struct cfq_data *cfqd = q->elevator->elevator_data;
struct task_struct *tsk = current;
{
struct cfq_data *cfqd = q->elevator->elevator_data;
struct task_struct *tsk = current;