diff options
author | Miao Xie <miaox@cn.fujitsu.com> | 2013-01-28 16:34:55 +0400 |
---|---|---|
committer | Josef Bacik <jbacik@fusionio.com> | 2013-02-06 01:09:10 +0400 |
commit | 0a3404dcff29a7589e8d6ce8c36f97c5411f85b4 (patch) | |
tree | 14531ce5b4c7fe080847590237b6c97b57f69edb /fs/no-block.c | |
parent | 222c81dc3874b4fe98371be665d0447a36447653 (diff) | |
download | linux-0a3404dcff29a7589e8d6ce8c36f97c5411f85b4.tar.xz |
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 <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/no-block.c')
0 files changed, 0 insertions, 0 deletions