From: David Sterba Date: Mon, 19 Jan 2015 13:21:02 +0000 (+0100) Subject: btrfs: sync ioctl, handle errors after transaction start X-Git-Tag: fixes-v4.0-rc1~254^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98bd5c547ef2300f915fc1adce5b6f25c195d4d4;p=pandora-kernel.git btrfs: sync ioctl, handle errors after transaction start The version merged to 3.19 did not handle errors from start_trancaction and could pass an invalid pointer to commit_transaction. Fixes: 6b5fe46dfa52441f ("btrfs: do commit in sync_fs if there are pending changes") Reported-by: Filipe Manana Signed-off-by: David Sterba Signed-off-by: Chris Mason --- Reading git-diff-tree failed