Patch
d8d9b78a5c08eb1d938ab9e3bdaf7f756bfbb5ec introduced
this modprobe, but order of redirects was reversed which results
in printing spurios messages like "FATAL: Module ptlrpc not found."
when mountig lustre from local build dir.
Change-Id: I688d073ad3b0565f73c29a50c2b81383adfd7a48
Signed-off-by: Oleg Drokin <green@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/4449
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
* LU-1279. When LNET modules have not loaded, and mounting multiple
* targets at the same time could fail.
*/
- rc = system("/sbin/modprobe ptlrpc 2>&1 > /dev/null");
+ rc = system("/sbin/modprobe ptlrpc >/dev/null 2>&1");
set_defaults(&mop);