Re: [PATCH 1/2 v14] btrfs: refactor btrfs_free_stale_devices() to get return value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 04, 2019 at 01:31:53PM +0800, Anand Jain wrote:
> Preparatory patch to add forget cli.
> 
> Re-factors 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@xxxxxxxxxx>
> ---

Reviewed-by: David Sterba <dsterba@xxxxxxxx>

I've added this patch to the other device-related cleanups sent recently.



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux