Re: bug when removing device

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

 



> I have sent a set of patches that address bugs like this.
>

I applied the V2 patchset to kernel-v2.6.32 (actually, I applied them
to btrfs-unstalbe, took a kernel-v2.6.32 and replaced its btrfs with
the patched one in btrfs-unstable), and did the test, then got:

$ sudo btrfs device del /dev/loop1 /tmp/mnt0/
ERROR: error removing the device '/dev/loop1'
$ sudo btrfs device del /dev/loop0 /tmp/mnt0/
ERROR: error removing the device '/dev/loop0'

dmesg:
[ 3463.136786] btrfs: unable to remove the only writeable device
[ 3468.205188] btrfs: unable to remove the only writeable device


Is it something wrong?
--
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