diff options
| author | Anand Jain <[email protected]> | 2019-01-04 05:31:53 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2019-02-25 13:13:23 +0000 |
| commit | 70bc7088aaedd7260fcdc18ecebc60881771acb3 (patch) | |
| tree | aa56e91be575a37b4387b1e004955f17360a6664 /fs/btrfs/async-thread.c | |
| parent | btrfs: refactor btrfs_find_device() take fs_devices as argument (diff) | |
| download | kernel-70bc7088aaedd7260fcdc18ecebc60881771acb3.tar.gz kernel-70bc7088aaedd7260fcdc18ecebc60881771acb3.zip | |
btrfs: refactor btrfs_free_stale_devices() to get return value
Preparatory patch to add ioctl that allows to forget a device (ie.
reverse of scan).
Refactors btrfs_free_stale_devices() to obtain return status. As this
function can fail if it can't find the given path (returns -ENOENT) or
trying to delete a mounted device (returns -EBUSY).
Signed-off-by: Anand Jain <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions
