1. 11 3月, 2014 1 次提交
  2. 16 2月, 2014 1 次提交
    • A
      btrfs: fix null pointer deference at btrfs_sysfs_add_one+0x105 · f085381e
      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/0xa80
      ? __get_free_pages+0x9/0x40
      ? copy_mount_options+0x31/0x170
      SyS_mount+0x7e/0xc0
      system_call_fastpath+0x16/0x1b
      ---------
      
      reproducer:
      -------
      mkfs.btrfs -draid1 -mraid1 /dev/sdc /dev/sdd
      (detach a disk)
      devmgt detach /dev/sdc [1]
      mount -o degrade /dev/sdd /btrfs
      -------
      
      [1] github.com/anajain/devmgt.git
      Signed-off-by: NAnand Jain <Anand.Jain@oracle.com>
      Tested-by: NHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
      Signed-off-by: NChris Mason <clm@fb.com>
      f085381e
  3. 29 1月, 2014 15 次提交
  4. 02 3月, 2013 1 次提交
  5. 18 6月, 2011 1 次提交
  6. 06 5月, 2011 1 次提交
  7. 08 3月, 2010 1 次提交
  8. 06 1月, 2009 2 次提交
  9. 26 9月, 2008 1 次提交
  10. 25 9月, 2008 7 次提交
  11. 30 8月, 2007 1 次提交
  12. 11 7月, 2007 1 次提交
  13. 12 6月, 2007 1 次提交
  14. 05 4月, 2007 1 次提交