On 2019/6/12 0:23, Andreas Gruenbacher wrote:
> Kefeng,
>
> On Wed, 5 Jun 2019 at 16:17, Kefeng Wang wrote:
>> Use IS_ERR_OR_NULL where appropriate.
>
> It seems there are several more instances in which IS_ERR_OR_NULL should
> be used (see below).
>
Right, will collect the following change
Kefeng,
On Wed, 5 Jun 2019 at 16:17, Kefeng Wang wrote:
> Use IS_ERR_OR_NULL where appropriate.
It seems there are several more instances in which IS_ERR_OR_NULL should
be used (see below).
Thanks,
Andreas
---
fs/gfs2/dir.c| 2 +-
fs/gfs2/glock.c | 2 +-
fs/gfs2/inode.c | 2
Use IS_ERR_OR_NULL where appropriate.
Cc: Bob Peterson
Cc: Andreas Gruenbacher
Cc: cluster-devel@redhat.com
Signed-off-by: Kefeng Wang
---
fs/gfs2/dir.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/gfs2/dir.c b/fs/gfs2/dir.c
index db9a05244a35..3925efd3fd83 100644
---