Scroll to navigation

lsm_nfs_export_delete(3) Libstoragemgmt C API Manual lsm_nfs_export_delete(3)

NAME

lsm_nfs_export_delete - Deletes the specified NFS export.

SYNOPSIS

int lsm_nfs_export_delete (lsm_connect *conn, lsm_nfs_export *e, lsm_flag flags);

ARGUMENTS

Valid connection.
The pointer of lsm_nfs_export to remove.
Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.

VERSION

1.0

DESCRIPTION

Deletes the specified NFS export.

CAPABILITY

LSM_CAP_EXPORT_REMOVE

RETURN

Error code as enumerated by 'lsm_error_number'.
* LSM_ERR_OK
On success.
* LSM_ERR_NOT_FOUND_NFS_EXPORT
When NFS export not found.

lsm_nfs_export_delete April 2023