diff options
author | Gu Jinxiang <gujx@cn.fujitsu.com> | 2018-07-12 14:23:16 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 13:12:48 +0200 |
commit | 36350e95a2b1feed6382fe38cc80f79ec35a1323 (patch) | |
tree | 251ce4ef0286301593c2ca0e16e04de144368697 /.mailmap | |
parent | d64dcbd183abab251beb0fa0acd81a772a09887e (diff) |
btrfs: return device pointer from btrfs_scan_one_device
Return device pointer (with the IS_ERR semantics) from
btrfs_scan_one_device so we don't have to return in through pointer.
And since btrfs_fs_devices can be obtained from btrfs_device, return that.
Signed-off-by: Gu Jinxiang <gujx@cn.fujitsu.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ fixed conflics after recent changes to btrfs_scan_one_device ]
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions