From: Liu Bo Date: Wed, 13 Mar 2013 13:43:03 +0000 (-0600) Subject: Btrfs: fix warning when creating snapshots X-Git-Tag: v3.9-rc3~3^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c2ec3f0730729f4829d01f7c19538d135f86712;p=pandora-kernel.git Btrfs: fix warning when creating snapshots Creating snapshot passes extent_root to commit its transaction, but it can lead to the warning of checking root for quota in the __btrfs_end_transaction() when someone else is committing the current transaction. Since we've recorded the needed root in trans_handle, just use it to get rid of the warning. Signed-off-by: Liu Bo Signed-off-by: Chris Mason --- Reading git-diff-tree failed