aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.h
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2019-01-04 13:31:53 +0800
committerDavid Sterba <dsterba@suse.com>2019-02-25 14:13:23 +0100
commit70bc7088aaedd7260fcdc18ecebc60881771acb3 (patch)
treeaa56e91be575a37b4387b1e004955f17360a6664 /fs/btrfs/volumes.h
parentbtrfs: refactor btrfs_find_device() take fs_devices as argument (diff)
downloadlinux-dev-70bc7088aaedd7260fcdc18ecebc60881771acb3.tar.xz
linux-dev-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 <anand.jain@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/volumes.h')
0 files changed, 0 insertions, 0 deletions