diff options
author | Josef Bacik <josef@redhat.com> | 2009-11-11 03:23:48 +0100 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-11-11 20:20:16 +0100 |
commit | 249ac1e55c642c670f47aacdc57629bbbf10a8db (patch) | |
tree | b03fdf12ee409fb2b5d696f2644ac67a7a690778 /fs/btrfs/free-space-cache.c | |
parent | Btrfs: fix data allocation hint start (diff) | |
download | linux-249ac1e55c642c670f47aacdc57629bbbf10a8db.tar.xz linux-249ac1e55c642c670f47aacdc57629bbbf10a8db.zip |
Btrfs: cleanup transaction starting and fix journal_info usage
We use journal_info to tell if we're in a nested transaction to make sure we
don't commit the transaction within a nested transaction. We use another
method to see if there are any outstanding ioctl trans handles, so if we're
starting one do not set current->journal_info, since it will screw with other
filesystems. This patch also cleans up the starting stuff so there aren't any
magic numbers.
Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/free-space-cache.c')
0 files changed, 0 insertions, 0 deletions