]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: fix varargs in __btrfs_std_error
authorEric Sandeen <sandeen@redhat.com>
Thu, 31 Jan 2013 00:54:58 +0000 (00:54 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Wed, 20 Feb 2013 17:59:22 +0000 (12:59 -0500)
commit2d778f0fa5bb550ba1a9c337d4f48d295ad8e3df
treed5d9d53f80736c7b2f13b5cca99c3c88cb845b75
parent06b7c3e96d3ef3faa57f63015f737fe16ca508f6
btrfs: fix varargs in __btrfs_std_error

__btrfs_std_error didn't always properly call va_end,
and might call va_start even if fmt was NULL.

Move all the varargs handling into the block where we
have fmt.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/super.c