[Btrfs-devel] subvol=. bug

Chris Mason chris.mason at oracle.com
Tue Feb 19 08:41:40 PST 2008


On Monday 18 February 2008, Yan Zheng wrote:
> 2008/2/19, Pär Andersson <paran at lysator.liu.se>:
> > Hi,
> >
> > First I will mention that I am still running btrfs on / without any
> > big problems. :-)
> >
> > However I have found another bug. If I have at least one snapshot
> > other than default, and mount using "-o subvol=." then readdir on that
> > directory keeps returning the same entry over and over. This is with
> > latest btrfs-unstable, linux 2.6.24.2 on i686.
>
> Patch attached below can fix this.

Almost, it needs an else filp->f_pos++.  Thanks though, I've pushed out the 
fix to btrfs-unstable

-chris



More information about the Btrfs-devel mailing list