Table of Contents

NAME

gfs_close_fork - close a fork

SYNOPSIS

#include <gfs.h>

int gfs_close_fork(int fork_id);

DESCRIPTION

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.

RETURN VALUE

gfs_close_fork returns zero on success, or -1 if an error occurred.

ERRORS

GFS_EINVAL
fork_id isn't a legal fork id. GFS_EBADF fork_id isn't a valid fork id.


Table of Contents