Btrfs: assert send doesn't attempt to start transactions
authorFilipe Manana <fdmanana@gmail.com>
Tue, 24 Jun 2014 16:48:28 +0000 (17:48 +0100)
committerChris Mason <clm@fb.com>
Sat, 28 Jun 2014 20:48:46 +0000 (13:48 -0700)
When starting a transaction just assert that current->journal_info
doesn't contain a send transaction stub, since send isn't supposed
to start transactions and when it finishes (either successfully or
not) it's supposed to set current->journal_info to NULL.

This is motivated by the change titled:

    Btrfs: fix crash when starting transaction

Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/transaction.c

Simple merge