summaryrefslogtreecommitdiff
path: root/fs/ioctl.c
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2019-01-04 08:31:53 +0300
committerDavid Sterba <dsterba@suse.com>2019-02-25 16:13:23 +0300
commit70bc7088aaedd7260fcdc18ecebc60881771acb3 (patch)
treeaa56e91be575a37b4387b1e004955f17360a6664 /fs/ioctl.c
parente4319cd9cacef80a2d289f235b939ab8bd614683 (diff)
downloadlinux-70bc7088aaedd7260fcdc18ecebc60881771acb3.tar.xz
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/ioctl.c')
0 files changed, 0 insertions, 0 deletions