lsm_fs_ss_delete man page
lsm_fs_ss_delete — Deletes a snapshot
int lsm_fs_ss_delete (lsm_connect *conn, lsm_fs *fs, lsm_fs_ss *ss, char **job, lsm_flag flags);
Pointer of lsm_fs.
Pointer of lsm_fs_ss to delete.
Output pointer of string. If storage system support asynchronous action on this, a job will be created and could be tracked via lsm_job_status_get. NULL if storage system does not support asynchronous action on this.
Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.
Deletes the specified file system snapshot.
Error code as enumerated by 'lsm_error_number'.
A job is started. Please check the 'job' output pointer.
When any argument is NULL or not a valid lsm_connect pointer
or invalid flags.
When file system not found.
When file system snapshot not found.