nfs-ganesha 1.4
|
00001 00006 #ifndef FSAL_COMMON_H 00007 #define FSAL_COMMON_H 00008 00009 #include "fsal.h" 00010 00011 /* >> You can define here the functions that are to be used 00012 * all over your FSAL but you don't want to be called externaly << 00013 * 00014 * Ex: YouFS_GetRoot( zfsfsal_handle_t * out_hdl, char * server_name, ... ); 00015 */ 00016 00017 #define ZFS_SNAP_DIR ".zfs" 00018 #define ZFS_SNAP_DIR_INODE 2 00019 00020 libzfswrap_vfs_t *ZFSFSAL_GetVFS(zfsfsal_handle_t *handle); 00021 void ZFSFSAL_VFS_RDLock(); 00022 void ZFSFSAL_VFS_WRLock(); 00023 void ZFSFSAL_VFS_Unlock(); 00024 00025 #endif