diff options
author | Liu Bo <bo.li.liu@oracle.com> | 2013-03-13 14:43:03 +0100 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-03-14 19:57:30 +0100 |
commit | 7c2ec3f0730729f4829d01f7c19538d135f86712 (patch) | |
tree | 562a221897694067b4846233e2a7cf0dbc23aea1 /lib/Kconfig.debug | |
parent | Btrfs: return as soon as possible when edquot happens (diff) | |
download | linux-7c2ec3f0730729f4829d01f7c19538d135f86712.tar.xz linux-7c2ec3f0730729f4829d01f7c19538d135f86712.zip |
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>
Diffstat (limited to 'lib/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions