From: Josef Bacik Date: Mon, 19 Sep 2011 16:26:24 +0000 (-0400) Subject: Btrfs: delay iput when deleting a block group X-Git-Tag: v3.2-rc1~21^2~24^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=455757c322cc0a0f2a692c5625dd88aaf6a7b889;p=pandora-kernel.git Btrfs: delay iput when deleting a block group I kept getting warnings from evict because we were calling btrfs_start_transaction() with a transaction already started when doing a balance. This is because we remove a block group which requires a transaction, and the put the last reference on the cache inode. Instead of doing this we need to delay the iput so it is done not within a transaction having started. This gets rid of our warnings. Thanks, Signed-off-by: Josef Bacik --- Reading git-diff-tree failed