diff options
author | Jan Synacek <jsynacek@redhat.com> | 2013-09-12 14:05:25 +0200 |
---|---|---|
committer | Jan Synacek <jsynacek@redhat.com> | 2013-09-16 10:07:03 +0200 |
commit | 1575c34d31247d66bb5a6c2286a966e5fdf65a2e (patch) | |
tree | e53d8d64ba5b6f2c0832aebbb8fbe60a779ce8bf /src/logicalfile/LMI_DirectoryContainsFileProvider.c | |
parent | c0f9fc31d2cbcb2131f73009c892f99b6e7ee9b8 (diff) | |
download | openlmi-providers-1575c34d31247d66bb5a6c2286a966e5fdf65a2e.tar.gz openlmi-providers-1575c34d31247d66bb5a6c2286a966e5fdf65a2e.tar.xz openlmi-providers-1575c34d31247d66bb5a6c2286a966e5fdf65a2e.zip |
logicalfile: ignore some key properties
CIM_LogicalFile and CIM_UnixFile have some key properties that are not
needed when calling GetInstance(). On Linux systems, all is needed to
get information about a file is its path. Type of the filesystem that
the file resides on and the file type itself are not needed. In fact,
it's not desirable to require those when querying remote systems.
Ignore FSCreationClassName, FSName, LFCreationClassName and
CreationClassName.
This commit reverts most of the functionality of commit
5c3e1a6203e495bec37acd8c3731ca41377beb94.
Diffstat (limited to 'src/logicalfile/LMI_DirectoryContainsFileProvider.c')
-rw-r--r-- | src/logicalfile/LMI_DirectoryContainsFileProvider.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logicalfile/LMI_DirectoryContainsFileProvider.c b/src/logicalfile/LMI_DirectoryContainsFileProvider.c index 753cb00..427c2a6 100644 --- a/src/logicalfile/LMI_DirectoryContainsFileProvider.c +++ b/src/logicalfile/LMI_DirectoryContainsFileProvider.c @@ -151,7 +151,7 @@ static CMPIStatus associators( int group = -1; int rgroup = -1; - st = lmi_check_required(_cb, cop, LOGICALFILE); + st = lmi_check_required(_cb, cop); if (st.rc != CMPI_RC_OK) { return st; } @@ -277,7 +277,7 @@ static CMPIStatus references( group = 0; } } - st = lmi_check_required(_cb, cop, LOGICALFILE); + st = lmi_check_required(_cb, cop); if (st.rc != CMPI_RC_OK) { return st; } |