table of contents
lsm_volume_unmask(3) | Libstoragemgmt C API Manual | lsm_volume_unmask(3) |
NAME¶
lsm_volume_unmask - Revokes access to a volume for the specified group
SYNOPSIS¶
int lsm_volume_unmask (lsm_connect *conn, lsm_access_group *access_group, lsm_volume *volume, lsm_flag flags);
ARGUMENTS¶
- conn
- Valid connection.
- access_group
- Pointer of lsm_access_group.
- volume
- Pointer of lsm_volume.
- flags
- Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.
VERSION¶
1.0
DESCRIPTION¶
Revokes access to a volume for the specified group.
CAPABILITY¶
LSM_CAP_VOLUME_UNMASK
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 lsm_access_group pointer or
invalid lsm_volume.
* LSM_ERR_NOT_FOUND_ACCESS_GROUP
When access group not found.
* LSM_ERR_NOT_FOUND_VOLUME
When volume not found.
* LSM_ERR_NO_STATE_CHANGE
When specified volume is not masked to specified access
group.
* LSM_ERR_NO_SUPPORT
Not supported.
lsm_volume_unmask | May 2019 |