1. 18 Apr, 2012 2 commits
    • Arne Jansen's avatar
      btrfs: fix race in reada · 8c9c2bf7
      Arne Jansen authored
      When inserting into the radix tree returns EEXIST, get the existing
      entry without giving up the spinlock in between.
      There was a race for both the zones trees and the extent tree.
      Signed-off-by: default avatarArne Jansen <sensille@gmx.net>
      8c9c2bf7
    • Li Zefan's avatar
      Btrfs: avoid setting ->d_op twice · 848cce0d
      Li Zefan authored
      Follow those instructions, and you'll trigger a warning in the
      beginning of d_set_d_op():
      
        # mkfs.btrfs /dev/loop3
        # mount /dev/loop3 /mnt
        # btrfs sub create /mnt/sub
        # btrfs sub snap /mnt /mnt/snap
        # touch /mnt/snap/sub
        touch: cannot touch `tmp': Permission denied
      
      __d_alloc() set d_op to sb->s_d_op (btrfs_dentry_operations), and
      then simple_lookup() reset it to simple_dentry_operations, which
      triggered the warning.
      Signed-off-by: default avatarLi Zefan <lizf@cn.fujitsu.com>
      848cce0d
  2. 13 Apr, 2012 1 commit
  3. 12 Apr, 2012 6 commits
  4. 29 Mar, 2012 16 commits
  5. 27 Mar, 2012 15 commits