1lsm_fs_child_dependency(3)Libstoragemgmt C API Manuallsm_fs_child_dependency(3)
2
3
4
6 lsm_fs_child_dependency - Checks whether file system has a child depen‐
7 dency.
8
10 int lsm_fs_child_dependency (lsm_connect *conn, lsm_fs *fs,
11 lsm_string_list *files, uint8_t *yes, lsm_flag flags);
12
14 conn Valid connection.
15
16 fs Point of lsm_fs.
17
18 files Pointer of lsm_string_list. Only check on specific files if
19 defined. If NULL, just check the file system.
20
21 yes uint8_t. 1 == Yes, 0 == No
22
23 flags Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.
24
26 1.0
27
29 Returns 1 if the specified file system has child dependencies, else re‐
30 turns 0.
31
33 LSM_CAP_FS_CHILD_DEPENDENCY
34
36 Error code as enumerated by 'lsm_error_number'.
37 * LSM_ERR_OK
38 On success.
39 * LSM_ERR_INVALID_ARGUMENT
40 When any argument is NULL or not a valid lsm_connect pointer
41 or invalid flags or invalid file system.
42 * LSM_ERR_NOT_FOUND_FS
43 When file system not found.
44 * LSM_ERR_NO_SUPPORT
45 Not supported.
46
47
48
49April 2023 lsm_fs_child_dependency lsm_fs_child_dependency(3)