diff options
author | Anand Jain <[email protected]> | 2018-01-10 13:15:18 +0800 |
---|---|---|
committer | David Sterba <[email protected]> | 2018-01-22 16:08:21 +0100 |
commit | 1c94da9dd913e69c67fbc77603d56ffa61e454c2 (patch) | |
tree | b6178d8c1b4048dfb7d63e5eebcb253cc17d5eb8 /net/unix/sysctl_net_unix.c | |
parent | e2683fc9d219430f5b78889b50cde7f40efeba7b (diff) |
btrfs: cleanup btrfs_free_stale_device() usage
We call btrfs_free_stale_device() only when we alloc a new struct
btrfs_device (ret=1), so move it closer to where we alloc the new
device. Also drop the comments.
Signed-off-by: Anand Jain <[email protected]>
Reviewed-by: Josef Bacik <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions