Scroll to navigation

lsm_fs_child_dependency(3) Libstoragemgmt C API Manual lsm_fs_child_dependency(3)

NAME

lsm_fs_child_dependency - 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

Valid connection.
Point of lsm_fs.
Pointer of lsm_string_list. Only check on specific files if defined. If NULL, just check the file system.
uint8_t. 1 == Yes, 0 == No
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.

lsm_fs_child_dependency April 2021