Small fix.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Make sure that call to magic_buffer() is also synchronised.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>