Whamcloud - gitweb
LU-7623 lov: Get rid of an ugly statfs hack in lov_iocontrol 80/17780/3
authorOleg Drokin <oleg.drokin@intel.com>
Sun, 3 Jan 2016 20:53:50 +0000 (15:53 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 28 Jan 2016 18:15:31 +0000 (18:15 +0000)
commit9281658095a63c88a12246df5fb6f3b78f97095a
tree5a1d8cc5703e92feb83ae5d799316699e3139d41
parent9bafa64985cae09eee5adaba5725038df1bf12e3
LU-7623 lov: 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.

Change-Id: I1b54e778d60b878fc3fc463c256aad360b2cab21
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Reviewed-on: http://review.whamcloud.com/17780
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
lustre/llite/llite_lib.c
lustre/lov/lov_obd.c