Re: kernel BUG at fs/btrfs/disk-io.c:2221!

From: Chris Mason
Date: Mon Aug 03 2009 - 10:02:54 EST


On Sat, Aug 01, 2009 at 11:50:08AM +0200, Thomas Meyer wrote:
> kernel BUG at fs/btrfs/disk-io.c:2221!
> invalid opcode: 0000 [#1] PREEMPT SMP
> last sysfs file: /sys/block/sdc/sdc1/start

Could you please confirm that line 2221 in your disk-io.c looks like
this:

2219 int btrfs_free_fs_root(struct btrfs_fs_info *fs_info, struct
btrfs_root *root)
2220 {
2221 WARN_ON(!RB_EMPTY_ROOT(&root->inode_tree));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2222 radix_tree_delete(&fs_info->fs_roots_radix,
2223 (unsigned long)root->root_key.objectid);
2224 if (root->anon_super.s_dev) {
2225 down_write(&root->anon_super.s_umount);
2226 kill_anon_super(&root->anon_super);
2227 }

That's in the unmount path but not under write_ctree_supers, so I want
to make sure I'm looking at the right bug ;)

-chris

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/