Table of Contents
gfs_close_fork - close a fork
#include <gfs.h>
int gfs_close_fork(int fork_id);
gfs_close_fork closes the fork associated with fork_id .
Closing a fork allows that fork's space in the open fork
table to be reused. It also allows the file system to
delete the fork, if such a request has been issued.
gfs_close_fork returns zero on success, or -1 if an error
occurred.
GFS_EINVAL
fork_id isn't a legal fork id. GFS_EBADF fork_id isn't
a valid fork id.
Table of Contents