Re: [PATCH 2/2] btrfs-progs: close all fs_devices before exit in some commands

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

 



On Mon, Aug 24, 2015 at 04:45:03PM +0800, Zhao Lei wrote:
> mkfs created more than one fs_devices in fs_uuids.
> 1: one is for file system been created
> 2: others are created in test_dev_for_mkfs for check mount point
>    test_dev_for_mkfs()-> ... -> btrfs_scan_one_device()
> 
> Current code only close above 1, and this patch close above 2.
> 
> Similar problem exist in other tools, for ex:
>  cmd-check.c: the function is:
>  cmd_check()->check_mounted()-> ... -> btrfs_scan_one_device()
>  ...
> 
> Signed-off-by: Zhao Lei <zhaolei@xxxxxxxxxxxxxx>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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