diff options
author | Chayan Biswas <Chayan.Biswas@sandisk.com> | 2013-05-22 22:34:49 +0000 |
---|---|---|
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2013-05-23 13:38:59 -0400 |
commit | cf90bc4830b858487fe4b9b9ecd0031e23ca3e83 (patch) | |
tree | e5ea89c97b8af24a72cb49cdd451a1f536e1cdeb /lib/mpi/mpi-inline.h | |
parent | 053ab702cc2702f25a97ead087ed344b864785b7 (diff) |
Return the result from user admin command IOCTL even in case of failure
We copy the result to user if the command is completed from the
controller even if it completes with failure (non-zero) status.
A return status of < 0 indicates the command was not completed
by the controller. The user application may expect the error code
in the result field in case of failure.
Signed-off-by: Chayan Biswas <Chayan.Biswas@sandisk.com>
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions