nfs-ganesha 1.4

nlm_Null.c

Go to the documentation of this file.
00001 /*
00002  * Copyright IBM Corporation, 2010
00003  *  Contributor: Aneesh Kumar K.v  <aneesh.kumar@linux.vnet.ibm.com>
00004  *
00005  * --------------------------
00006  *
00007  * This program is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU Lesser General Public
00009  * License as published by the Free Software Foundation; either
00010  * version 3 of the License, or (at your option) any later version.
00011  * 
00012  * This program is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  * Lesser General Public License for more details.
00016  * 
00017  * You should have received a copy of the GNU Lesser General Public
00018  * License along with this library; if not, write to the Free Software
00019  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00020  * 
00021  *
00022  */
00023 
00024 #ifdef HAVE_CONFIG_H
00025 #include "config.h"
00026 #endif
00027 
00028 #ifdef _SOLARIS
00029 #include "solaris_port.h"
00030 #endif
00031 
00032 #include <stdio.h>
00033 #include <string.h>
00034 #include <pthread.h>
00035 #include "log.h"
00036 #include "ganesha_rpc.h"
00037 #include "nlm4.h"
00038 #include "cache_inode.h"
00039 #include "nlm_util.h"
00040 #include "nlm_async.h"
00041 
00056 int nlm_Null(nfs_arg_t *parg,
00057              exportlist_t *pexport,
00058              fsal_op_context_t *pcontext,
00059              nfs_worker_data_t *pworker,
00060              struct svc_req *preq,
00061              nfs_res_t *pres)
00062 {
00063   LogDebug(COMPONENT_NLM, "REQUEST PROCESSING: Calling nlm_Null");
00064   /* 0 is success */
00065   return 0;
00066 }
00067 
00076 void nlm_Null_Free(nfs_res_t * pres)
00077 {
00078   return;
00079 }