nfs-ganesha 1.4
|
00001 #ifdef HAVE_CONFIG_H 00002 #include "config.h" 00003 #endif 00004 00005 #include "fsal.h" 00006 #include "fsal_internal.h" 00007 00008 /* Those functions are called from FUSE filesystems */ 00009 00010 struct ganefuse_context *ganefuse_get_context(void) 00011 { 00012 fusefsal_op_context_t *p_ctx; 00013 00014 p_ctx = fsal_get_thread_context(); 00015 00016 if(p_ctx == NULL) 00017 return NULL; 00018 00019 return &(p_ctx->ganefuse_context); 00020 }