lsm_fs_child_dependency - Man Page
Checks whether file system has a child dependency.
Synopsis
int lsm_fs_child_dependency (lsm_connect *conn, lsm_fs *fs, lsm_string_list *files, uint8_t *yes, lsm_flag flags);
Arguments
- conn
Valid connection.
- fs
Point of lsm_fs.
- files
Pointer of lsm_string_list. Only check on specific files if defined. If NULL, just check the file system.
- yes
uint8_t. 1 == Yes, 0 == No
- flags
Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.
Version
1.0
Description
Returns 1 if the specified file system has child dependencies, else returns 0.
Capability
LSM_CAP_FS_CHILD_DEPENDENCY
Return
Error code as enumerated by 'lsm_error_number'.
* LSM_ERR_OK
On success.
* LSM_ERR_INVALID_ARGUMENT
When any argument is NULL or not a valid lsm_connect pointer
or invalid flags or invalid file system.
* LSM_ERR_NOT_FOUND_FS
When file system not found.
* LSM_ERR_NO_SUPPORT
Not supported.