]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Btrfs: check the root passed to btrfs_end_transaction
authorArne Jansen <sensille@gmx.net>
Tue, 13 Sep 2011 09:40:09 +0000 (11:40 +0200)
committerJan Schmidt <list.btrfs@jan-o-sch.net>
Tue, 10 Jul 2012 13:14:43 +0000 (15:14 +0200)
commitd13603ef6e14a12cd65a6975e8117c0fea7c7ddf
tree9f6a11b5b8963f0663a47c7bbe73d698fb0cff71
parent2f38b3e1900634e64a186873b3388b1bf85dabc0
Btrfs: check the root passed to btrfs_end_transaction

This patch only add a consistancy check to validate that the
same root is passed to start_transaction and end_transaction.
Subvolume quota depends on this.

Signed-off-by: Arne Jansen <sensille@gmx.net>
fs/btrfs/transaction.c
fs/btrfs/transaction.h