commit | b2c9cd3793e5878e301ec2219785a7b8ca402ef1 | [log] [tgz] |
---|---|---|
author | Akinobu Mita <akinobu.mita@gmail.com> | Tue Jul 26 16:09:03 2011 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Jul 26 16:49:46 2011 -0700 |
tree | e0a8a447ea8c6d59c20a1e190e2c397bfcd46a49 | |
parent | b2588c4b4c3c075e9b45d61065d86c60de2b6441 [diff] |
fail_make_request: cleanup should_fail_request This changes should_fail_request() to more usable wrapper function of should_fail(). It can avoid putting #ifdef CONFIG_FAIL_MAKE_REQUEST in the middle of a function. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Cc: Jens Axboe <axboe@kernel.dk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>