diff options
author | Anand Jain <anand.jain@oracle.com> | 2019-01-04 00:31:53 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-02-25 08:13:23 -0500 |
commit | 70bc7088aaedd7260fcdc18ecebc60881771acb3 (patch) | |
tree | aa56e91be575a37b4387b1e004955f17360a6664 /fs/posix_acl.c | |
parent | e4319cd9cacef80a2d289f235b939ab8bd614683 (diff) |
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/posix_acl.c')
0 files changed, 0 insertions, 0 deletions