1. 27 3月, 2012 7 次提交
  2. 22 3月, 2012 6 次提交
  3. 23 2月, 2012 1 次提交
    • C
      Btrfs: make sure we update latest_bdev · a6b0d5c8
      Chris Mason 提交于
      When we are setting up the mount, we close all the
      devices that were not actually part of the metadata we found.
      
      But, we don't make sure that one of those devices wasn't
      fs_devices->latest_bdev, which means we can do a use after free
      on the one we closed.
      
      This updates latest_bdev as it goes.
      Signed-off-by: NChris Mason <chris.mason@oracle.com>
      a6b0d5c8
  4. 17 2月, 2012 1 次提交
  5. 15 2月, 2012 1 次提交
    • D
      btrfs: silence warning in raid array setup · 8a334426
      David Sterba 提交于
      Raid array setup code creates an extent buffer in an usual way. When the
      PAGE_CACHE_SIZE is > super block size, the extent pages are not marked
      up-to-date, which triggers a WARN_ON in the following
      write_extent_buffer call. Add an explicit up-to-date call to silence the
      warning.
      Signed-off-by: NDavid Sterba <dsterba@suse.cz>
      8a334426
  6. 17 1月, 2012 18 次提交
  7. 11 1月, 2012 4 次提交
  8. 09 1月, 2012 1 次提交
    • A
      btrfs: fix a deadlock in btrfs_scan_one_device() · 10f6327b
      Al Viro 提交于
      pathname resolution under a global mutex, taken on some paths in ->mount()
      is a Bad Idea(tm) - think what happens if said pathname resolution triggers
      automount of some btrfs instance and walks into attempt to grab the same
      mutex.  Deadlock - we are waiting for daemon to finish walking the path,
      daemon is waiting for us to release the mutex...
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      10f6327b
  9. 07 1月, 2012 1 次提交