1lsm_volume_unmask(3) Libstoragemgmt C API Manual lsm_volume_unmask(3)
2
3
4
6 lsm_volume_unmask - Revokes access to a volume for the specified group
7
9 int lsm_volume_unmask (lsm_connect *conn, lsm_access_group *ac‐
10 cess_group, lsm_volume *volume, lsm_flag flags);
11
13 conn Valid connection.
14
15 access_group
16 Pointer of lsm_access_group.
17
18 volume Pointer of lsm_volume.
19
20 flags Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.
21
23 1.0
24
26 Revokes access to a volume for the specified group.
27
29 LSM_CAP_VOLUME_UNMASK
30
32 Error code as enumerated by 'lsm_error_number'.
33 * LSM_ERR_OK
34 On success.
35 * LSM_ERR_INVALID_ARGUMENT
36 When any argument is NULL or not a valid lsm_connect pointer
37 or invalid flags or invalid lsm_access_group pointer or
38 invalid lsm_volume.
39 * LSM_ERR_NOT_FOUND_ACCESS_GROUP
40 When access group not found.
41 * LSM_ERR_NOT_FOUND_VOLUME
42 When volume not found.
43 * LSM_ERR_NO_STATE_CHANGE
44 When specified volume is not masked to specified access
45 group.
46 * LSM_ERR_NO_SUPPORT
47 Not supported.
48
49
50
51November 2021 lsm_volume_unmask lsm_volume_unmask(3)