Re: [PATCH] fstests: btrfs verify hardening agaist duplicate fsid

2018-10-08 Thread Anand Jain
On 10/06/2018 06:14 PM, Eryu Guan wrote: On Mon, Oct 01, 2018 at 04:44:35PM +0800, Anand Jain wrote: We have a known bug in btrfs, that we let the device path be changed after the device has been mounted. So using this loop hole the new copied device would appears as if its mounted

Re: [PATCH] fstests: btrfs verify hardening agaist duplicate fsid

2018-10-06 Thread Eryu Guan
On Mon, Oct 01, 2018 at 04:44:35PM +0800, Anand Jain wrote: > We have a known bug in btrfs, that we let the device path be changed > after the device has been mounted. So using this loop hole the new > copied device would appears as if its mounted immediately after its > been copied. So this test

[PATCH] fstests: btrfs verify hardening agaist duplicate fsid

2018-10-01 Thread Anand Jain
We have a known bug in btrfs, that we let the device path be changed after the device has been mounted. So using this loop hole the new copied device would appears as if its mounted immediately after its been copied. So this test case reproduces this issue. For example: Initially..