diff options
author | Yi Li <yili@winhong.com> | 2021-02-24 21:00:34 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-02-24 22:38:26 +0100 |
commit | 6efb59499aff080e6a9f1485ff968918c30c5b0c (patch) | |
tree | cf542848cf7c9965fdc1b282556ebbf5c18f45e7 /fs/xfs/xfs_health.c | |
parent | ntfs: check for valid standard information attribute (diff) | |
download | linux-6efb59499aff080e6a9f1485ff968918c30c5b0c.tar.xz linux-6efb59499aff080e6a9f1485ff968918c30c5b0c.zip |
ocfs2: remove redundant conditional before iput
iput handles NULL pointers gracefully, so there's no need to check the
pointer before the call.
Link: https://lkml.kernel.org/r/20201231040535.4091761-1-yili@winhong.com
Signed-off-by: Yi Li <yili@winhong.com>
Acked-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Cc: Mark Fasheh <mark@fasheh.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Gang He <ghe@suse.com>
Cc: Jun Piao <piaojun@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/xfs/xfs_health.c')
0 files changed, 0 insertions, 0 deletions