nfs-ganesha 1.4

pnfs_layoutreturn.c

Go to the documentation of this file.
00001 /*
00002  * vim:expandtab:shiftwidth=8:tabstop=8:
00003  */
00004 
00011 #ifdef HAVE_CONFIG_H
00012 #include "config.h"
00013 #endif
00014 
00015 #ifdef _SOLARIS
00016 #include "solaris_port.h"
00017 #endif                          /* _SOLARIS */
00018 
00019 #include <stdio.h>
00020 #include <string.h>
00021 #include <pthread.h>
00022 #include <fcntl.h>
00023 #include <sys/file.h>           /* for having FNDELAY */
00024 #include "HashData.h"
00025 #include "HashTable.h"
00026 #ifdef _USE_GSSRPC
00027 #include <gssrpc/types.h>
00028 #include <gssrpc/rpc.h>
00029 #include <gssrpc/auth.h>
00030 #include <gssrpc/pmap_clnt.h>
00031 #else
00032 #include <rpc/types.h>
00033 #include <rpc/rpc.h>
00034 #include <rpc/auth.h>
00035 #include <rpc/pmap_clnt.h>
00036 #endif
00037 
00038 #include "log.h"
00039 #include "nfs23.h"
00040 #include "nfs4.h"
00041 #include "mount.h"
00042 #include "nfs_core.h"
00043 #include "cache_inode.h"
00044 #include "nfs_exports.h"
00045 #include "nfs_creds.h"
00046 #include "nfs_proto_functions.h"
00047 #include "nfs_file_handle.h"
00048 #include "nfs_tools.h"
00049 #include "pnfs.h" 
00050 #include "pnfs_internal.h"
00051 
00066 nfsstat4 PARALLEL_FS_pnfs_layoutreturn( LAYOUTRETURN4args  * playoutreturnargs,
00067                                         compound_data_t    * data,
00068                                         LAYOUTRETURN4res   * playoutreturnres )
00069 {
00070   
00071   playoutreturnres->lorr_status = NFS4_OK;
00072 
00073   return playoutreturnres->lorr_status  ;
00074 }                               /* pnfs_layoutreturn */
00075