Commit 28a38e20 authored by Xichao Zhao's avatar Xichao Zhao Committed by David Sterba
Browse files

btrfs: use PTR_ERR_OR_ZERO() to simplify code inbtrfs_control_ioctl()



Use the standard error pointer macro to simplify the code.

Reviewed-by: default avatarDaniel Vacek <neelx@suse.com>
Signed-off-by: default avatarXichao Zhao <zhao.xichao@vivo.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent d728f2e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment