diff options
author | Dmitry Eremin <dmitry.eremin@intel.com> | 2016-04-27 21:37:21 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-04-28 21:53:18 -0700 |
commit | 1b3f4f90c4fe0205e10d0d703ee599f726cd96b6 (patch) | |
tree | c98485c0e574a58bf456734182911e6738ebbe97 /drivers/staging/lustre | |
parent | 70187506215e40d16a89c9f91f4d36f0f487b3e8 (diff) | |
download | op-kernel-dev-1b3f4f90c4fe0205e10d0d703ee599f726cd96b6.zip op-kernel-dev-1b3f4f90c4fe0205e10d0d703ee599f726cd96b6.tar.gz |
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>
Diffstat (limited to 'drivers/staging/lustre')
-rw-r--r-- | drivers/staging/lustre/lustre/llite/rw26.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/llite/rw26.c b/drivers/staging/lustre/lustre/llite/rw26.c index a740c7a..9341189 100644 --- a/drivers/staging/lustre/lustre/llite/rw26.c +++ b/drivers/staging/lustre/lustre/llite/rw26.c @@ -446,7 +446,7 @@ out: } cl_env_put(env, &refcheck); - return tot_bytes ? : result; + return tot_bytes ? tot_bytes : result; } /** |