commit | 7c2ec3f0730729f4829d01f7c19538d135f86712 | [log] [tgz] |
---|---|---|
author | Liu Bo <bo.li.liu@oracle.com> | Wed Mar 13 07:43:03 2013 -0600 |
committer | Chris Mason <chris.mason@fusionio.com> | Thu Mar 14 14:57:30 2013 -0400 |
tree | 562a221897694067b4846233e2a7cf0dbc23aea1 | |
parent | 720f1e2060138855b4a1b1e8aa642f9c7feb6750 [diff] |
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 <bo.li.liu@oracle.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>