Re: [PATCH v2 1/2] btrfs-progs: tests: Fix mount fail of 013-extent-tree-rebuild

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

 



On Tue, Sep 01, 2015 at 06:03:27PM +0800, Zhao Lei wrote:
> mount command in old system can not add "-o loop" option automatically
> for loop device, and make following test failed:
>   # ./fsck-tests.sh
>   ...
>     [TEST]   013-extent-tree-rebuild
>   failed: mount /data/btrfsprogs/tests/test.img /data/btrfsprogs/tests/mnt
>   test failed for case 013-extent-tree-rebuild
> 
> Considering that $TEST_DEV can be block or loop device, we need determine
> our mount option in a condition for both case.
> 
> This patch create a wrapper function for above request, to solve current
> problem in 013-extent-tree-rebuild, and support similar request in future.
> 
> Signed-off-by: Zhao Lei <zhaolei@xxxxxxxxxxxxxx>

Applied, thanks.

FYI, I've separated this patch into two, one adding the helpers and the
other one using them. Changelogs contents was mostly reused.
--
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