nfs-ganesha 1.4
Functions

posixdb_lock.c File Reference

#include "posixdb_internal.h"
#include <string.h>

Go to the source code of this file.

Functions

fsal_posixdb_status_t fsal_posixdb_lockHandleForUpdate (fsal_posixdb_conn *p_conn, fsal_posixdb_fileinfo_t *p_info)
 Lock the line of the Handle table with inode & devid defined in p_info.
fsal_posixdb_status_t fsal_posixdb_cancelHandleLock (fsal_posixdb_conn *p_conn)
 Unlock the Handle line previously locked by fsal_posixdb_lockHandleForUpdate.

Function Documentation

fsal_posixdb_status_t fsal_posixdb_cancelHandleLock ( fsal_posixdb_conn *  p_conn)

Unlock the Handle line previously locked by fsal_posixdb_lockHandleForUpdate.

Parameters:
p_connDatabase connection
Returns:
ERR_FSAL_POSIXDB_NOERR if no error, another error code else.

Definition at line 58 of file MYSQL/posixdb_lock.c.

fsal_posixdb_status_t fsal_posixdb_lockHandleForUpdate ( fsal_posixdb_conn *  p_conn,
fsal_posixdb_fileinfo_t p_info 
)

Lock the line of the Handle table with inode & devid defined in p_info.

Parameters:
p_connDatabase connection
p_infoInformation about the file
Returns:
ERR_FSAL_POSIXDB_NOERR if no error, another error code else.

Definition at line 21 of file MYSQL/posixdb_lock.c.