diff options
| author | Anand Jain <anand.jain@oracle.com> | 2017-10-11 12:46:18 +0800 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2017-10-30 12:27:59 +0100 |
| commit | adfb69af7d8cb6a3958f75aad1ef4bc96891d116 (patch) | |
| tree | 43d0b60d34781e5116df4ca94ebd5f2b059cf1cb /net/lapb/lapb_in.c | |
| parent | 9e882d6d059ae79afb7b8748cb5ffd83acd058e2 (diff) | |
btrfs: add_missing_dev() should return the actual error
add_missing_dev() can return device pointer so that IS_ERR/PTR_ERR can
be used to check for the actual error that occurred in the function.
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
[ minor error message adjustment ]
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
