Skip to content
  • Josef Bacik's avatar
    Btrfs: remove warn_on from use_block_rsv · e9bb7f10
    Josef Bacik authored
    
    
    Because btrfs_dirty_inode does a btrfs_join_transaction, it doesn't actually
    reserve space.  It does this so we can try and dirty the inode quickly without
    having to deal with the ENOSPC problems.  But if it does get back ENOSPC it
    handles it properly.  The problem is use_block_rsv does a WARN_ON whenever this
    case happens, even tho btrfs_dirty_inode takes it into account and actually
    expects to get -ENOSPC if things are particularly tight.  So instead just remove
    the warning.  Thanks,
    
    Signed-off-by: default avatarJosef Bacik <josef@redhat.com>
    e9bb7f10