lsm_volume_unmask - Man Page
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.