staging/lustre: Get rid of an ugly statfs hack in lov_iocontrol
authorOleg Drokin <green@linuxhacker.ru>
Sun, 3 Jan 2016 17:05:42 +0000 (12:05 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 22:27:25 +0000 (14:27 -0800)
commit44164fc9922d4d5bd60de7a576ba5ebdeefe79a3
tree32cda11b0f13746a89e13e942a7c8c0dfe720555
parent4eb53dfd23281c6e358f26af56b3572bdcbfd43a
staging/lustre: Get rid of an ugly statfs hack in lov_iocontrol

For some crazy reason ll_obd_statfs decided to decode async flag
passed from userspace and then pass it via a userspace pointer
argument to lov_iocontrol.
This patch moves flags decoding to lov_iocontrol where it belongs.

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/llite_lib.c
drivers/staging/lustre/lustre/lov/lov_obd.c