diff options
author | Jan Synacek <jsynacek@redhat.com> | 2013-09-06 15:03:19 +0200 |
---|---|---|
committer | Jan Synacek <jsynacek@redhat.com> | 2013-09-09 08:58:59 +0200 |
commit | 3b7510e66379f0beb0838259cebf6e3c58b61f57 (patch) | |
tree | 63e0482b34e7fe1d10bc05df593e048394b7a75f | |
parent | 5abd893c3dcd5836d9c006b47a55fd5f9ce032f1 (diff) | |
download | openlmi-providers-3b7510e66379f0beb0838259cebf6e3c58b61f57.tar.gz openlmi-providers-3b7510e66379f0beb0838259cebf6e3c58b61f57.tar.xz openlmi-providers-3b7510e66379f0beb0838259cebf6e3c58b61f57.zip |
logicalfile: correctly return an objectpath
CreateInstance() has to return an objectpath to the created
instance. Returning only status made the server stall.
-rw-r--r-- | src/logicalfile/LMI_UnixDirectoryProvider.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logicalfile/LMI_UnixDirectoryProvider.c b/src/logicalfile/LMI_UnixDirectoryProvider.c index 7face91..bdd1245 100644 --- a/src/logicalfile/LMI_UnixDirectoryProvider.c +++ b/src/logicalfile/LMI_UnixDirectoryProvider.c @@ -86,7 +86,7 @@ static CMPIStatus LMI_UnixDirectoryCreateInstance( CMReturnWithChars(_cb, CMPI_RC_ERR_FAILED, errmsg); } - CMReturn(CMPI_RC_OK); + return CMReturnObjectPath(cr, iop); } static CMPIStatus LMI_UnixDirectoryModifyInstance( |