From: Miao Xie Date: Mon, 28 Jan 2013 12:34:55 +0000 (+0000) Subject: Btrfs: fix wrong sync_writers decrement in btrfs_file_aio_write() X-Git-Tag: v3.8-rc7~6^2~2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a3404dcff29a7589e8d6ce8c36f97c5411f85b4;p=pandora-kernel.git Btrfs: fix wrong sync_writers decrement in btrfs_file_aio_write() If the checks at the beginning of btrfs_file_aio_write() fail, we needn't decrease ->sync_writers, because we have not increased it. Fix it. Signed-off-by: Miao Xie Signed-off-by: Josef Bacik --- Reading git-diff-tree failed