block: factor out req_set_nomerge
authorRitesh Harjani <riteshh@codeaurora.org>
Thu, 1 Dec 2016 15:36:16 +0000 (08:36 -0700)
committerJens Axboe <axboe@fb.com>
Thu, 1 Dec 2016 15:36:16 +0000 (08:36 -0700)
commite0c723000966ae285295caaa8cda914dfa177fa4
treea8f77eed7a4536f599843f1f277253e85cb3933f
parentaf309226db916e2c6e08d3eba3fa5c34225200c4
block: factor out req_set_nomerge

Factor out common code for setting REQ_NOMERGE flag which is being used
out at certain places and make it a helper instead, req_set_nomerge().

Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org>
Get rid of the inline.

Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-merge.c