Re: [RFC PATCH] btrfs: fix null pointer deference at btrfs_sysfs_add_one+0x105

2014-02-13 Thread Chris Mason
On 02/13/2014 08:33 PM, Hidetoshi Seto wrote: > I still see this trouble on v3.14-rc2. > I confirmed that we cannot do mount with -o degraded without > this patch. Could you pick this up, Chris? > Thanks for catching this, it'll be in the next pull. -chris -- To unsubscribe from this list: send

Re: [RFC PATCH] btrfs: fix null pointer deference at btrfs_sysfs_add_one+0x105

2014-02-13 Thread Hidetoshi Seto
I still see this trouble on v3.14-rc2. I confirmed that we cannot do mount with -o degraded without this patch. Could you pick this up, Chris? Thanks, H.Seto Feel free to add: Tested-by: Hidetoshi Seto (2014/01/15 18:22), Anand Jain wrote: > bdev is null when disk has disappeared and mounted wi

[RFC PATCH] btrfs: fix null pointer deference at btrfs_sysfs_add_one+0x105

2014-01-15 Thread Anand Jain
bdev is null when disk has disappeared and mounted with the degrade option stack trace - btrfs_sysfs_add_one+0x105/0x1c0 [btrfs] open_ctree+0x15f3/0x1fe0 [btrfs] btrfs_mount+0x5db/0x790 [btrfs] ? alloc_pages_current+0xa4/0x160 mount_fs+0x34/0x1b0 vfs_kern_mount+0x62/0xf0 do_mount+0x22e/0xa