diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2018-07-30 00:04:46 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 13:13:02 +0200 |
commit | 8d9e220ca0844bf75b98cb5b8e2c25d203c0d0f6 (patch) | |
tree | cd43d2412db0f5ee0b34642b11711229bb12f068 /fs/btrfs/backref.h | |
parent | btrfs: btrfs_iget never returns an is_bad_inode inode (diff) | |
download | linux-8d9e220ca0844bf75b98cb5b8e2c25d203c0d0f6.tar.xz linux-8d9e220ca0844bf75b98cb5b8e2c25d203c0d0f6.zip |
btrfs: simplify IS_ERR/PTR_ERR checks
IS_ERR(p) && PTR_ERR(p) == n is a weird way to spell p == ERR_PTR(n).
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Reviewed-by: David Sterba <dsterba@suse.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
[ update changelog ]
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/backref.h')
0 files changed, 0 insertions, 0 deletions