Whamcloud - gitweb
LU-4985 kernel: Store kthread_run result in task_struct ptr 66/10266/3
authorRyan Haasken <haasken@cray.com>
Thu, 8 May 2014 14:18:36 +0000 (09:18 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 14 May 2014 05:31:42 +0000 (05:31 +0000)
commitd46286bdfb704cc56972863cb067244b8bb6df43
tree5bd7a2c60f91f8122a9ef53ffc1c9d9b37d6d434
parent4c3b2c8b2b4e0d01d6e5c5531363110a2275d6a1
LU-4985 kernel: Store kthread_run result in task_struct ptr

The fix for LU-3498 changed most invocations of kthread_run to store
the result in a variable of task_struct pointer type and check whether
kthread_run returned an error using IS_ERR.  This change updates the
remaining calls to kthread_run to do this as well for consistency.

Signed-off-by: Ryan Haasken <haasken@cray.com>
Change-Id: I18edab018080ec51e9979164234e5bcd02a04f88
Reviewed-on: http://review.whamcloud.com/10266
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
lustre/lfsck/lfsck_layout.c
lustre/lfsck/lfsck_lib.c
lustre/lfsck/lfsck_namespace.c
lustre/ofd/ofd_io.c