block: replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERO
authorDuan Jiong <duanj.fnst@cn.fujitsu.com>
Fri, 11 Apr 2014 07:58:56 +0000 (15:58 +0800)
committerJens Axboe <axboe@fb.com>
Fri, 11 Apr 2014 14:09:47 +0000 (08:09 -0600)
commit21f9fcd81593e201172160853b8647336fb81f4f
tree50305acfde22c150f32edff52425f2bb2e62c9e6
parentcb2da43e3d02b745408252fe4c447b23b1f4fc7b
block: replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERO

This patch fixes coccinelle error regarding usage of IS_ERR and
PTR_ERR instead of PTR_ERR_OR_ZERO.

Signed-off-by: Duan Jiong <duanj.fnst@cn.fujitsu.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-core.c