staging: lustre: llite: fixup return value ll_direct_IO_26
Return the correct values from ll_direct_IO_26. Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4069 Reviewed-on: http://review.whamcloud.com/8080 Reviewed-by: John L. Hammond <john.hammond@intel.com> Reviewed-by: James Simmons <uja.ornl@gmail.com> Reviewed-by: Oleg Drokin <oleg.drokin@intel.com> Signed-Off-by: James Simmons <jsimmons@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
7018750621
commit
1b3f4f90c4
@ -446,7 +446,7 @@ out:
|
||||
}
|
||||
|
||||
cl_env_put(env, &refcheck);
|
||||
return tot_bytes ? : result;
|
||||
return tot_bytes ? tot_bytes : result;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user