diff options
author | Julien Grall <julien.grall@citrix.com> | 2015-06-29 17:35:24 +0100 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-10-23 14:20:34 +0100 |
commit | 33204663ef85d9ce79009b2246afe6a2fef8eb1b (patch) | |
tree | a8844c3c3cba29929b2997199132b58d5cc60212 /ipc/msg.c | |
parent | 3922f32c1e6db2e096ff095a5b8af0b940b97508 (diff) | |
download | linux-33204663ef85d9ce79009b2246afe6a2fef8eb1b.tar.bz2 |
block/xen-blkfront: Split blkif_queue_request in 2
Currently, blkif_queue_request has 2 distinct execution path:
- Send a discard request
- Send a read/write request
The function is also allocating grants to use for generating the
request. Although, this is only used for read/write request.
Rather than having a function with 2 distinct execution path, separate
the function in 2. This will also remove one level of tabulation.
Signed-off-by: Julien Grall <julien.grall@citrix.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'ipc/msg.c')
0 files changed, 0 insertions, 0 deletions