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

Greg KH greg at kroah.com
Wed Feb 6 09:32:33 PST 2008


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.
> 
> 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?

thanks,

greg k-h



More information about the Btrfs-devel mailing list