gfs2: Use IS_ERR_OR_NULL
authorKefeng Wang <wangkefeng.wang@huawei.com>
Wed, 5 Jun 2019 14:24:24 +0000 (22:24 +0800)
committerAndreas Gruenbacher <agruenba@redhat.com>
Thu, 27 Jun 2019 18:53:46 +0000 (20:53 +0200)
commit15a798f7deb3931dd569f5734a04be47b97435cc
tree78a348db6da5b7cf580344414cd07e261f7689b4
parent2a27b755ed244527df845f07f4dd83988a90f2e4
gfs2: Use IS_ERR_OR_NULL

Use IS_ERR_OR_NULL where appropriate.

(Several more places converted by Andreas.)

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/dir.c
fs/gfs2/glock.c
fs/gfs2/inode.c
fs/gfs2/ops_fstype.c