[Btrfs-devel] Re: [PATCH] btrfs: fixes for kobject changes in mainline

Chris Mason chris.mason at oracle.com
Wed Feb 6 10:05:10 PST 2008


On Wednesday 06 February 2008, Greg KH wrote:
> On Wed, Feb 06, 2008 at 09:01:30AM -0800, Greg KH wrote:
> > Here's a patch against the unstable tree that gets the code to build
> > against Linus's current tree (2.6.24-git12).  This is needed as the
> > kobject/kset api has changed there.
> >

Many thanks for these updates.

> > I tried to make the smallest changes needed, and it builds and loads
> > successfully, but I don't have a btrfs volume anywhere (yet) to try to
> > see if things still work properly :)
>
> Ok, I created a file for the fs, ran mkfs.btrfs on it, mounted it
> loopback through the loop block driver, and then tried to mount it.
>
> Lovely oops in btrfs_search_slot it can be seen at:
> 	http://www.kerneloops.org/raw.php?rawid=3304&msgid=
>
> Note, I'm running unstable for both the kernel module, and the userspace
> tools...
>
> Was this something that I caused with the sysfs change?  Or should I not
> be testing this with a loopback filesystem?

btrfs on top of loopback works fine here for btrfs-unstable.  Given the oops, 
I'd guess someone is freeing the name field instead of strduping it.

-chris



More information about the Btrfs-devel mailing list