On Mon, May 14, 2012 at 02:08:52PM +0200, David Sterba wrote:
> Seems more like a bug, let's narrow down the conditions before we look
> into the code.

And already known bug (with a proposed fix, cc'd author):

http://www.spinics.net/lists/linux-btrfs/msg15195.html

Quoting:

 # mkfs.btrfs /dev/sda1
 # mount /dev/sda1 /mnt
 # mkdir /mnt/1
 # cd /mnt/1
 # btrfs subvolume snapshot /mnt snap0
 # ll /mnt/1
 total 0
 drwxr-xr-x 1 root root 10 Jun 30 15:01 1
                        ^^^
 # ll /mnt/1/snap0/
 total 0
 drwxr-xr-x 1 root root 10 Jun 30 15:01 1
                        ^^^
                        It is also 10, but...
 # ll /mnt/1/snap0/1
 total 0
 [None]
 # cd /mnt/1/snap0/1/snap0
 [Enter a unexisted directory successfully]
---

Though there's a difference, that in your listing the @working (here
it'd be snap0) is present.


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

Reply via email to