/*
  Copyright (c) 2008-2015 Red Hat, Inc. <http://www.redhat.com>
  This file is part of GlusterFS.

  This file is licensed to you under your choice of the GNU Lesser
  General Public License, version 3 or any later version (LGPLv3 or
  later), or the GNU General Public License, version 2 (GPLv2), in all
  cases as published by the Free Software Foundation.
*/

/* libglusterfs/src/defaults.c:
   This file contains functions, which are used to fill the 'fops', 'cbk'
   structures in the xlator structures, if they are not written. Here, all the
   function calls are plainly forwarded to the first child of the xlator, and
   all the *_cbk function does plain STACK_UNWIND of the frame, and returns.

   This function also implements *_resume () functions, which does same
   operation as a fop().

   All the functions are plain enough to understand.
*/

#ifndef _CONFIG_H
#define _CONFIG_H
#include "config.h"
#endif

#include "glusterfs/defaults.h"

/* BEGIN GENERATED CODE - DO NOT MODIFY */

int32_t
default_fgetxattr_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (fgetxattr, frame, -1, op_errno, NULL, NULL);
	return 0;
}


int32_t
default_fsetxattr_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (fsetxattr, frame, -1, op_errno, NULL);
	return 0;
}


int32_t
default_setxattr_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (setxattr, frame, -1, op_errno, NULL);
	return 0;
}


int32_t
default_statfs_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (statfs, frame, -1, op_errno, NULL, NULL);
	return 0;
}


int32_t
default_fsyncdir_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (fsyncdir, frame, -1, op_errno, NULL);
	return 0;
}


int32_t
default_opendir_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (opendir, frame, -1, op_errno, NULL, NULL);
	return 0;
}


int32_t
default_fstat_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (fstat, frame, -1, op_errno, NULL, NULL);
	return 0;
}


int32_t
default_fsync_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (fsync, frame, -1, op_errno, NULL, NULL, NULL);
	return 0;
}


int32_t
default_flush_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (flush, frame, -1, op_errno, NULL);
	return 0;
}


int32_t
default_writev_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (writev, frame, -1, op_errno, NULL, NULL, NULL);
	return 0;
}


int32_t
default_readv_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (readv, frame, -1, op_errno, NULL, -1, NULL, NULL, NULL);
	return 0;
}


int32_t
default_open_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (open, frame, -1, op_errno, NULL, NULL);
	return 0;
}


int32_t
default_create_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (create, frame, -1, op_errno, NULL, NULL, NULL, NULL, NULL, NULL);
	return 0;
}


int32_t
default_link_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (link, frame, -1, op_errno, NULL, NULL, NULL, NULL, NULL);
	return 0;
}


int32_t
default_rename_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (rename, frame, -1, op_errno, NULL, NULL, NULL, NULL, NULL, NULL);
	return 0;
}


int32_t
default_symlink_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (symlink, frame, -1, op_errno, NULL, NULL, NULL, NULL, NULL);
	return 0;
}


int32_t
default_rmdir_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (rmdir, frame, -1, op_errno, NULL, NULL, NULL);
	return 0;
}


int32_t
default_unlink_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (unlink, frame, -1, op_errno, NULL, NULL, NULL);
	return 0;
}


int32_t
default_mkdir_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (mkdir, frame, -1, op_errno, NULL, NULL, NULL, NULL, NULL);
	return 0;
}


int32_t
default_mknod_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (mknod, frame, -1, op_errno, NULL, NULL, NULL, NULL, NULL);
	return 0;
}


int32_t
default_readlink_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (readlink, frame, -1, op_errno, NULL, NULL, NULL);
	return 0;
}


int32_t
default_access_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (access, frame, -1, op_errno, NULL);
	return 0;
}


int32_t
default_ftruncate_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (ftruncate, frame, -1, op_errno, NULL, NULL, NULL);
	return 0;
}


int32_t
default_getxattr_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (getxattr, frame, -1, op_errno, NULL, NULL);
	return 0;
}


int32_t
default_xattrop_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (xattrop, frame, -1, op_errno, NULL, NULL);
	return 0;
}


int32_t
default_fxattrop_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (fxattrop, frame, -1, op_errno, NULL, NULL);
	return 0;
}


int32_t
default_removexattr_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (removexattr, frame, -1, op_errno, NULL);
	return 0;
}


int32_t
default_fremovexattr_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (fremovexattr, frame, -1, op_errno, NULL);
	return 0;
}


int32_t
default_lk_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (lk, frame, -1, op_errno, NULL, NULL);
	return 0;
}


int32_t
default_inodelk_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (inodelk, frame, -1, op_errno, NULL);
	return 0;
}


int32_t
default_finodelk_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (finodelk, frame, -1, op_errno, NULL);
	return 0;
}


int32_t
default_entrylk_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (entrylk, frame, -1, op_errno, NULL);
	return 0;
}


int32_t
default_fentrylk_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (fentrylk, frame, -1, op_errno, NULL);
	return 0;
}


int32_t
default_rchecksum_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (rchecksum, frame, -1, op_errno, -1, NULL, NULL);
	return 0;
}


int32_t
default_readdir_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (readdir, frame, -1, op_errno, NULL, NULL);
	return 0;
}


int32_t
default_readdirp_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (readdirp, frame, -1, op_errno, NULL, NULL);
	return 0;
}


int32_t
default_setattr_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (setattr, frame, -1, op_errno, NULL, NULL, NULL);
	return 0;
}


int32_t
default_truncate_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (truncate, frame, -1, op_errno, NULL, NULL, NULL);
	return 0;
}


int32_t
default_stat_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (stat, frame, -1, op_errno, NULL, NULL);
	return 0;
}


int32_t
default_lookup_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (lookup, frame, -1, op_errno, NULL, NULL, NULL, NULL);
	return 0;
}


int32_t
default_fsetattr_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (fsetattr, frame, -1, op_errno, NULL, NULL, NULL);
	return 0;
}


int32_t
default_fallocate_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (fallocate, frame, -1, op_errno, NULL, NULL, NULL);
	return 0;
}


int32_t
default_discard_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (discard, frame, -1, op_errno, NULL, NULL, NULL);
	return 0;
}


int32_t
default_zerofill_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (zerofill, frame, -1, op_errno, NULL, NULL, NULL);
	return 0;
}


int32_t
default_ipc_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (ipc, frame, -1, op_errno, NULL);
	return 0;
}


int32_t
default_seek_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (seek, frame, -1, op_errno, -1, NULL);
	return 0;
}


int32_t
default_getspec_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (getspec, frame, -1, op_errno, NULL);
	return 0;
}


int32_t
default_lease_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (lease, frame, -1, op_errno, NULL, NULL);
	return 0;
}


int32_t
default_getactivelk_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (getactivelk, frame, -1, op_errno, NULL, NULL);
	return 0;
}


int32_t
default_setactivelk_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (setactivelk, frame, -1, op_errno, NULL);
	return 0;
}


int32_t
default_put_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (put, frame, -1, op_errno, NULL, NULL, NULL, NULL, NULL);
	return 0;
}


int32_t
default_icreate_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (icreate, frame, -1, op_errno, NULL, NULL, NULL);
	return 0;
}


int32_t
default_namelink_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (namelink, frame, -1, op_errno, NULL, NULL, NULL);
	return 0;
}


int32_t
default_copy_file_range_failure_cbk (call_frame_t *frame, int32_t op_errno)
{
	STACK_UNWIND_STRICT (copy_file_range, frame, -1, op_errno, NULL, NULL, NULL, NULL);
	return 0;
}


int32_t
default_fgetxattr_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, dict_t * dict,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (fgetxattr, frame, op_ret, op_errno,
			     dict, xdata);
	return 0;
}


int32_t
default_fsetxattr_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, dict_t * xdata)
{
	STACK_UNWIND_STRICT (fsetxattr, frame, op_ret, op_errno,
			     xdata);
	return 0;
}


int32_t
default_setxattr_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, dict_t * xdata)
{
	STACK_UNWIND_STRICT (setxattr, frame, op_ret, op_errno,
			     xdata);
	return 0;
}


int32_t
default_statfs_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, struct statvfs * buf,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (statfs, frame, op_ret, op_errno,
			     buf, xdata);
	return 0;
}


int32_t
default_fsyncdir_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, dict_t * xdata)
{
	STACK_UNWIND_STRICT (fsyncdir, frame, op_ret, op_errno,
			     xdata);
	return 0;
}


int32_t
default_opendir_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, fd_t * fd,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (opendir, frame, op_ret, op_errno,
			     fd, xdata);
	return 0;
}


int32_t
default_fstat_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, struct iatt * buf,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (fstat, frame, op_ret, op_errno,
			     buf, xdata);
	return 0;
}


int32_t
default_fsync_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, struct iatt * prebuf,
	struct iatt * postbuf,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (fsync, frame, op_ret, op_errno,
			     prebuf, postbuf, xdata);
	return 0;
}


int32_t
default_flush_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, dict_t * xdata)
{
	STACK_UNWIND_STRICT (flush, frame, op_ret, op_errno,
			     xdata);
	return 0;
}


int32_t
default_writev_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, struct iatt * prebuf,
	struct iatt * postbuf,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (writev, frame, op_ret, op_errno,
			     prebuf, postbuf, xdata);
	return 0;
}


int32_t
default_readv_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, struct iovec * vector,
	int32_t count,
	struct iatt * stbuf,
	struct iobref * iobref,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (readv, frame, op_ret, op_errno,
			     vector, count, stbuf, iobref, xdata);
	return 0;
}


int32_t
default_open_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, fd_t * fd,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (open, frame, op_ret, op_errno,
			     fd, xdata);
	return 0;
}


int32_t
default_create_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, fd_t * fd,
	inode_t * inode,
	struct iatt * buf,
	struct iatt * preparent,
	struct iatt * postparent,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (create, frame, op_ret, op_errno,
			     fd, inode, buf, preparent, postparent, xdata);
	return 0;
}


int32_t
default_link_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, inode_t * inode,
	struct iatt * buf,
	struct iatt * preparent,
	struct iatt * postparent,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (link, frame, op_ret, op_errno,
			     inode, buf, preparent, postparent, xdata);
	return 0;
}


int32_t
default_rename_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, struct iatt * buf,
	struct iatt * preoldparent,
	struct iatt * postoldparent,
	struct iatt * prenewparent,
	struct iatt * postnewparent,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (rename, frame, op_ret, op_errno,
			     buf, preoldparent, postoldparent, prenewparent, postnewparent, xdata);
	return 0;
}


int32_t
default_symlink_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, inode_t * inode,
	struct iatt * buf,
	struct iatt * preparent,
	struct iatt * postparent,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (symlink, frame, op_ret, op_errno,
			     inode, buf, preparent, postparent, xdata);
	return 0;
}


int32_t
default_rmdir_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, struct iatt * preparent,
	struct iatt * postparent,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (rmdir, frame, op_ret, op_errno,
			     preparent, postparent, xdata);
	return 0;
}


int32_t
default_unlink_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, struct iatt * preparent,
	struct iatt * postparent,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (unlink, frame, op_ret, op_errno,
			     preparent, postparent, xdata);
	return 0;
}


int32_t
default_mkdir_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, inode_t * inode,
	struct iatt * buf,
	struct iatt * preparent,
	struct iatt * postparent,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (mkdir, frame, op_ret, op_errno,
			     inode, buf, preparent, postparent, xdata);
	return 0;
}


int32_t
default_mknod_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, inode_t * inode,
	struct iatt * buf,
	struct iatt * preparent,
	struct iatt * postparent,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (mknod, frame, op_ret, op_errno,
			     inode, buf, preparent, postparent, xdata);
	return 0;
}


int32_t
default_readlink_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, const char * path,
	struct iatt * buf,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (readlink, frame, op_ret, op_errno,
			     path, buf, xdata);
	return 0;
}


int32_t
default_access_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, dict_t * xdata)
{
	STACK_UNWIND_STRICT (access, frame, op_ret, op_errno,
			     xdata);
	return 0;
}


int32_t
default_ftruncate_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, struct iatt * prebuf,
	struct iatt * postbuf,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (ftruncate, frame, op_ret, op_errno,
			     prebuf, postbuf, xdata);
	return 0;
}


int32_t
default_getxattr_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, dict_t * dict,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (getxattr, frame, op_ret, op_errno,
			     dict, xdata);
	return 0;
}


int32_t
default_xattrop_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, dict_t * dict,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (xattrop, frame, op_ret, op_errno,
			     dict, xdata);
	return 0;
}


int32_t
default_fxattrop_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, dict_t * dict,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (fxattrop, frame, op_ret, op_errno,
			     dict, xdata);
	return 0;
}


int32_t
default_removexattr_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, dict_t * xdata)
{
	STACK_UNWIND_STRICT (removexattr, frame, op_ret, op_errno,
			     xdata);
	return 0;
}


int32_t
default_fremovexattr_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, dict_t * xdata)
{
	STACK_UNWIND_STRICT (fremovexattr, frame, op_ret, op_errno,
			     xdata);
	return 0;
}


int32_t
default_lk_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, struct gf_flock * lock,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (lk, frame, op_ret, op_errno,
			     lock, xdata);
	return 0;
}


int32_t
default_inodelk_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, dict_t * xdata)
{
	STACK_UNWIND_STRICT (inodelk, frame, op_ret, op_errno,
			     xdata);
	return 0;
}


int32_t
default_finodelk_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, dict_t * xdata)
{
	STACK_UNWIND_STRICT (finodelk, frame, op_ret, op_errno,
			     xdata);
	return 0;
}


int32_t
default_entrylk_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, dict_t * xdata)
{
	STACK_UNWIND_STRICT (entrylk, frame, op_ret, op_errno,
			     xdata);
	return 0;
}


int32_t
default_fentrylk_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, dict_t * xdata)
{
	STACK_UNWIND_STRICT (fentrylk, frame, op_ret, op_errno,
			     xdata);
	return 0;
}


int32_t
default_rchecksum_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, uint32_t weak_cksum,
	uint8_t * strong_cksum,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (rchecksum, frame, op_ret, op_errno,
			     weak_cksum, strong_cksum, xdata);
	return 0;
}


int32_t
default_readdir_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, gf_dirent_t * entries,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (readdir, frame, op_ret, op_errno,
			     entries, xdata);
	return 0;
}


int32_t
default_readdirp_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, gf_dirent_t * entries,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (readdirp, frame, op_ret, op_errno,
			     entries, xdata);
	return 0;
}


int32_t
default_setattr_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, struct iatt * statpre,
	struct iatt * statpost,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (setattr, frame, op_ret, op_errno,
			     statpre, statpost, xdata);
	return 0;
}


int32_t
default_truncate_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, struct iatt * prebuf,
	struct iatt * postbuf,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (truncate, frame, op_ret, op_errno,
			     prebuf, postbuf, xdata);
	return 0;
}


int32_t
default_stat_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, struct iatt * buf,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (stat, frame, op_ret, op_errno,
			     buf, xdata);
	return 0;
}


int32_t
default_lookup_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, inode_t * inode,
	struct iatt * buf,
	dict_t * xdata,
	struct iatt * postparent)
{
	STACK_UNWIND_STRICT (lookup, frame, op_ret, op_errno,
			     inode, buf, xdata, postparent);
	return 0;
}


int32_t
default_fsetattr_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, struct iatt * statpre,
	struct iatt * statpost,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (fsetattr, frame, op_ret, op_errno,
			     statpre, statpost, xdata);
	return 0;
}


int32_t
default_fallocate_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, struct iatt * pre,
	struct iatt * post,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (fallocate, frame, op_ret, op_errno,
			     pre, post, xdata);
	return 0;
}


int32_t
default_discard_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, struct iatt * pre,
	struct iatt * post,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (discard, frame, op_ret, op_errno,
			     pre, post, xdata);
	return 0;
}


int32_t
default_zerofill_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, struct iatt * pre,
	struct iatt * post,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (zerofill, frame, op_ret, op_errno,
			     pre, post, xdata);
	return 0;
}


int32_t
default_ipc_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, dict_t * xdata)
{
	STACK_UNWIND_STRICT (ipc, frame, op_ret, op_errno,
			     xdata);
	return 0;
}


int32_t
default_seek_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, off_t offset,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (seek, frame, op_ret, op_errno,
			     offset, xdata);
	return 0;
}


int32_t
default_getspec_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, char * spec_data)
{
	STACK_UNWIND_STRICT (getspec, frame, op_ret, op_errno,
			     spec_data);
	return 0;
}


int32_t
default_lease_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, struct gf_lease * lease,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (lease, frame, op_ret, op_errno,
			     lease, xdata);
	return 0;
}


int32_t
default_getactivelk_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, lock_migration_info_t * locklist,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (getactivelk, frame, op_ret, op_errno,
			     locklist, xdata);
	return 0;
}


int32_t
default_setactivelk_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, dict_t * xdata)
{
	STACK_UNWIND_STRICT (setactivelk, frame, op_ret, op_errno,
			     xdata);
	return 0;
}


int32_t
default_put_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, inode_t * inode,
	struct iatt * buf,
	struct iatt * preparent,
	struct iatt * postparent,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (put, frame, op_ret, op_errno,
			     inode, buf, preparent, postparent, xdata);
	return 0;
}


int32_t
default_icreate_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, inode_t * inode,
	struct iatt * buf,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (icreate, frame, op_ret, op_errno,
			     inode, buf, xdata);
	return 0;
}


int32_t
default_namelink_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, struct iatt * prebuf,
	struct iatt * postbuf,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (namelink, frame, op_ret, op_errno,
			     prebuf, postbuf, xdata);
	return 0;
}


int32_t
default_copy_file_range_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
			   int32_t op_ret, int32_t op_errno, struct iatt * stbuf,
	struct iatt * prebuf_dst,
	struct iatt * postbuf_dst,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (copy_file_range, frame, op_ret, op_errno,
			     stbuf, prebuf_dst, postbuf_dst, xdata);
	return 0;
}


int32_t
default_fgetxattr_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, dict_t * dict,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (fgetxattr, frame, op_ret, op_errno,
			     dict, xdata);
	return 0;
}


int32_t
default_fsetxattr_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, dict_t * xdata)
{
	STACK_UNWIND_STRICT (fsetxattr, frame, op_ret, op_errno,
			     xdata);
	return 0;
}


int32_t
default_setxattr_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, dict_t * xdata)
{
	STACK_UNWIND_STRICT (setxattr, frame, op_ret, op_errno,
			     xdata);
	return 0;
}


int32_t
default_statfs_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, struct statvfs * buf,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (statfs, frame, op_ret, op_errno,
			     buf, xdata);
	return 0;
}


int32_t
default_fsyncdir_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, dict_t * xdata)
{
	STACK_UNWIND_STRICT (fsyncdir, frame, op_ret, op_errno,
			     xdata);
	return 0;
}


int32_t
default_opendir_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, fd_t * fd,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (opendir, frame, op_ret, op_errno,
			     fd, xdata);
	return 0;
}


int32_t
default_fstat_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, struct iatt * buf,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (fstat, frame, op_ret, op_errno,
			     buf, xdata);
	return 0;
}


int32_t
default_fsync_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, struct iatt * prebuf,
	struct iatt * postbuf,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (fsync, frame, op_ret, op_errno,
			     prebuf, postbuf, xdata);
	return 0;
}


int32_t
default_flush_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, dict_t * xdata)
{
	STACK_UNWIND_STRICT (flush, frame, op_ret, op_errno,
			     xdata);
	return 0;
}


int32_t
default_writev_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, struct iatt * prebuf,
	struct iatt * postbuf,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (writev, frame, op_ret, op_errno,
			     prebuf, postbuf, xdata);
	return 0;
}


int32_t
default_readv_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, struct iovec * vector,
	int32_t count,
	struct iatt * stbuf,
	struct iobref * iobref,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (readv, frame, op_ret, op_errno,
			     vector, count, stbuf, iobref, xdata);
	return 0;
}


int32_t
default_open_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, fd_t * fd,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (open, frame, op_ret, op_errno,
			     fd, xdata);
	return 0;
}


int32_t
default_create_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, fd_t * fd,
	inode_t * inode,
	struct iatt * buf,
	struct iatt * preparent,
	struct iatt * postparent,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (create, frame, op_ret, op_errno,
			     fd, inode, buf, preparent, postparent, xdata);
	return 0;
}


int32_t
default_link_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, inode_t * inode,
	struct iatt * buf,
	struct iatt * preparent,
	struct iatt * postparent,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (link, frame, op_ret, op_errno,
			     inode, buf, preparent, postparent, xdata);
	return 0;
}


int32_t
default_rename_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, struct iatt * buf,
	struct iatt * preoldparent,
	struct iatt * postoldparent,
	struct iatt * prenewparent,
	struct iatt * postnewparent,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (rename, frame, op_ret, op_errno,
			     buf, preoldparent, postoldparent, prenewparent, postnewparent, xdata);
	return 0;
}


int32_t
default_symlink_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, inode_t * inode,
	struct iatt * buf,
	struct iatt * preparent,
	struct iatt * postparent,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (symlink, frame, op_ret, op_errno,
			     inode, buf, preparent, postparent, xdata);
	return 0;
}


int32_t
default_rmdir_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, struct iatt * preparent,
	struct iatt * postparent,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (rmdir, frame, op_ret, op_errno,
			     preparent, postparent, xdata);
	return 0;
}


int32_t
default_unlink_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, struct iatt * preparent,
	struct iatt * postparent,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (unlink, frame, op_ret, op_errno,
			     preparent, postparent, xdata);
	return 0;
}


int32_t
default_mkdir_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, inode_t * inode,
	struct iatt * buf,
	struct iatt * preparent,
	struct iatt * postparent,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (mkdir, frame, op_ret, op_errno,
			     inode, buf, preparent, postparent, xdata);
	return 0;
}


int32_t
default_mknod_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, inode_t * inode,
	struct iatt * buf,
	struct iatt * preparent,
	struct iatt * postparent,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (mknod, frame, op_ret, op_errno,
			     inode, buf, preparent, postparent, xdata);
	return 0;
}


int32_t
default_readlink_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, const char * path,
	struct iatt * buf,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (readlink, frame, op_ret, op_errno,
			     path, buf, xdata);
	return 0;
}


int32_t
default_access_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, dict_t * xdata)
{
	STACK_UNWIND_STRICT (access, frame, op_ret, op_errno,
			     xdata);
	return 0;
}


int32_t
default_ftruncate_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, struct iatt * prebuf,
	struct iatt * postbuf,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (ftruncate, frame, op_ret, op_errno,
			     prebuf, postbuf, xdata);
	return 0;
}


int32_t
default_getxattr_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, dict_t * dict,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (getxattr, frame, op_ret, op_errno,
			     dict, xdata);
	return 0;
}


int32_t
default_xattrop_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, dict_t * dict,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (xattrop, frame, op_ret, op_errno,
			     dict, xdata);
	return 0;
}


int32_t
default_fxattrop_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, dict_t * dict,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (fxattrop, frame, op_ret, op_errno,
			     dict, xdata);
	return 0;
}


int32_t
default_removexattr_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, dict_t * xdata)
{
	STACK_UNWIND_STRICT (removexattr, frame, op_ret, op_errno,
			     xdata);
	return 0;
}


int32_t
default_fremovexattr_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, dict_t * xdata)
{
	STACK_UNWIND_STRICT (fremovexattr, frame, op_ret, op_errno,
			     xdata);
	return 0;
}


int32_t
default_lk_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, struct gf_flock * lock,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (lk, frame, op_ret, op_errno,
			     lock, xdata);
	return 0;
}


int32_t
default_inodelk_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, dict_t * xdata)
{
	STACK_UNWIND_STRICT (inodelk, frame, op_ret, op_errno,
			     xdata);
	return 0;
}


int32_t
default_finodelk_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, dict_t * xdata)
{
	STACK_UNWIND_STRICT (finodelk, frame, op_ret, op_errno,
			     xdata);
	return 0;
}


int32_t
default_entrylk_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, dict_t * xdata)
{
	STACK_UNWIND_STRICT (entrylk, frame, op_ret, op_errno,
			     xdata);
	return 0;
}


int32_t
default_fentrylk_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, dict_t * xdata)
{
	STACK_UNWIND_STRICT (fentrylk, frame, op_ret, op_errno,
			     xdata);
	return 0;
}


int32_t
default_rchecksum_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, uint32_t weak_cksum,
	uint8_t * strong_cksum,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (rchecksum, frame, op_ret, op_errno,
			     weak_cksum, strong_cksum, xdata);
	return 0;
}


int32_t
default_readdir_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, gf_dirent_t * entries,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (readdir, frame, op_ret, op_errno,
			     entries, xdata);
	return 0;
}


int32_t
default_readdirp_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, gf_dirent_t * entries,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (readdirp, frame, op_ret, op_errno,
			     entries, xdata);
	return 0;
}


int32_t
default_setattr_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, struct iatt * statpre,
	struct iatt * statpost,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (setattr, frame, op_ret, op_errno,
			     statpre, statpost, xdata);
	return 0;
}


int32_t
default_truncate_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, struct iatt * prebuf,
	struct iatt * postbuf,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (truncate, frame, op_ret, op_errno,
			     prebuf, postbuf, xdata);
	return 0;
}


int32_t
default_stat_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, struct iatt * buf,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (stat, frame, op_ret, op_errno,
			     buf, xdata);
	return 0;
}


int32_t
default_lookup_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, inode_t * inode,
	struct iatt * buf,
	dict_t * xdata,
	struct iatt * postparent)
{
	STACK_UNWIND_STRICT (lookup, frame, op_ret, op_errno,
			     inode, buf, xdata, postparent);
	return 0;
}


int32_t
default_fsetattr_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, struct iatt * statpre,
	struct iatt * statpost,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (fsetattr, frame, op_ret, op_errno,
			     statpre, statpost, xdata);
	return 0;
}


int32_t
default_fallocate_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, struct iatt * pre,
	struct iatt * post,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (fallocate, frame, op_ret, op_errno,
			     pre, post, xdata);
	return 0;
}


int32_t
default_discard_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, struct iatt * pre,
	struct iatt * post,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (discard, frame, op_ret, op_errno,
			     pre, post, xdata);
	return 0;
}


int32_t
default_zerofill_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, struct iatt * pre,
	struct iatt * post,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (zerofill, frame, op_ret, op_errno,
			     pre, post, xdata);
	return 0;
}


int32_t
default_ipc_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, dict_t * xdata)
{
	STACK_UNWIND_STRICT (ipc, frame, op_ret, op_errno,
			     xdata);
	return 0;
}


int32_t
default_seek_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, off_t offset,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (seek, frame, op_ret, op_errno,
			     offset, xdata);
	return 0;
}


int32_t
default_getspec_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, char * spec_data)
{
	STACK_UNWIND_STRICT (getspec, frame, op_ret, op_errno,
			     spec_data);
	return 0;
}


int32_t
default_lease_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, struct gf_lease * lease,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (lease, frame, op_ret, op_errno,
			     lease, xdata);
	return 0;
}


int32_t
default_getactivelk_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, lock_migration_info_t * locklist,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (getactivelk, frame, op_ret, op_errno,
			     locklist, xdata);
	return 0;
}


int32_t
default_setactivelk_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, dict_t * xdata)
{
	STACK_UNWIND_STRICT (setactivelk, frame, op_ret, op_errno,
			     xdata);
	return 0;
}


int32_t
default_put_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, inode_t * inode,
	struct iatt * buf,
	struct iatt * preparent,
	struct iatt * postparent,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (put, frame, op_ret, op_errno,
			     inode, buf, preparent, postparent, xdata);
	return 0;
}


int32_t
default_icreate_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, inode_t * inode,
	struct iatt * buf,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (icreate, frame, op_ret, op_errno,
			     inode, buf, xdata);
	return 0;
}


int32_t
default_namelink_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, struct iatt * prebuf,
	struct iatt * postbuf,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (namelink, frame, op_ret, op_errno,
			     prebuf, postbuf, xdata);
	return 0;
}


int32_t
default_copy_file_range_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
		    int32_t op_ret, int32_t op_errno, struct iatt * stbuf,
	struct iatt * prebuf_dst,
	struct iatt * postbuf_dst,
	dict_t * xdata)
{
	STACK_UNWIND_STRICT (copy_file_range, frame, op_ret, op_errno,
			     stbuf, prebuf_dst, postbuf_dst, xdata);
	return 0;
}


int32_t
default_fgetxattr_resume (call_frame_t *frame, xlator_t *this, fd_t * fd,
	const char * name,
	dict_t * xdata)
{
	STACK_WIND (frame, default_fgetxattr_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->fgetxattr,
		    fd, name, xdata);
	return 0;
}


int32_t
default_fsetxattr_resume (call_frame_t *frame, xlator_t *this, fd_t * fd,
	dict_t * dict,
	int32_t flags,
	dict_t * xdata)
{
	STACK_WIND (frame, default_fsetxattr_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->fsetxattr,
		    fd, dict, flags, xdata);
	return 0;
}


int32_t
default_setxattr_resume (call_frame_t *frame, xlator_t *this, loc_t * loc,
	dict_t * dict,
	int32_t flags,
	dict_t * xdata)
{
	STACK_WIND (frame, default_setxattr_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->setxattr,
		    loc, dict, flags, xdata);
	return 0;
}


int32_t
default_statfs_resume (call_frame_t *frame, xlator_t *this, loc_t * loc,
	dict_t * xdata)
{
	STACK_WIND (frame, default_statfs_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->statfs,
		    loc, xdata);
	return 0;
}


int32_t
default_fsyncdir_resume (call_frame_t *frame, xlator_t *this, fd_t * fd,
	int32_t flags,
	dict_t * xdata)
{
	STACK_WIND (frame, default_fsyncdir_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->fsyncdir,
		    fd, flags, xdata);
	return 0;
}


int32_t
default_opendir_resume (call_frame_t *frame, xlator_t *this, loc_t * loc,
	fd_t * fd,
	dict_t * xdata)
{
	STACK_WIND (frame, default_opendir_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->opendir,
		    loc, fd, xdata);
	return 0;
}


int32_t
default_fstat_resume (call_frame_t *frame, xlator_t *this, fd_t * fd,
	dict_t * xdata)
{
	STACK_WIND (frame, default_fstat_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->fstat,
		    fd, xdata);
	return 0;
}


int32_t
default_fsync_resume (call_frame_t *frame, xlator_t *this, fd_t * fd,
	int32_t flags,
	dict_t * xdata)
{
	STACK_WIND (frame, default_fsync_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->fsync,
		    fd, flags, xdata);
	return 0;
}


int32_t
default_flush_resume (call_frame_t *frame, xlator_t *this, fd_t * fd,
	dict_t * xdata)
{
	STACK_WIND (frame, default_flush_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->flush,
		    fd, xdata);
	return 0;
}


int32_t
default_writev_resume (call_frame_t *frame, xlator_t *this, fd_t * fd,
	struct iovec * vector,
	int32_t count,
	off_t off,
	uint32_t flags,
	struct iobref * iobref,
	dict_t * xdata)
{
	STACK_WIND (frame, default_writev_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->writev,
		    fd, vector, count, off, flags, iobref, xdata);
	return 0;
}


int32_t
default_readv_resume (call_frame_t *frame, xlator_t *this, fd_t * fd,
	size_t size,
	off_t offset,
	uint32_t flags,
	dict_t * xdata)
{
	STACK_WIND (frame, default_readv_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->readv,
		    fd, size, offset, flags, xdata);
	return 0;
}


int32_t
default_open_resume (call_frame_t *frame, xlator_t *this, loc_t * loc,
	int32_t flags,
	fd_t * fd,
	dict_t * xdata)
{
	STACK_WIND (frame, default_open_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->open,
		    loc, flags, fd, xdata);
	return 0;
}


int32_t
default_create_resume (call_frame_t *frame, xlator_t *this, loc_t * loc,
	int32_t flags,
	mode_t mode,
	mode_t umask,
	fd_t * fd,
	dict_t * xdata)
{
	STACK_WIND (frame, default_create_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->create,
		    loc, flags, mode, umask, fd, xdata);
	return 0;
}


int32_t
default_link_resume (call_frame_t *frame, xlator_t *this, loc_t * oldloc,
	loc_t * newloc,
	dict_t * xdata)
{
	STACK_WIND (frame, default_link_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->link,
		    oldloc, newloc, xdata);
	return 0;
}


int32_t
default_rename_resume (call_frame_t *frame, xlator_t *this, loc_t * oldloc,
	loc_t * newloc,
	dict_t * xdata)
{
	STACK_WIND (frame, default_rename_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->rename,
		    oldloc, newloc, xdata);
	return 0;
}


int32_t
default_symlink_resume (call_frame_t *frame, xlator_t *this, const char * linkpath,
	loc_t * loc,
	mode_t umask,
	dict_t * xdata)
{
	STACK_WIND (frame, default_symlink_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->symlink,
		    linkpath, loc, umask, xdata);
	return 0;
}


int32_t
default_rmdir_resume (call_frame_t *frame, xlator_t *this, loc_t * loc,
	int32_t flags,
	dict_t * xdata)
{
	STACK_WIND (frame, default_rmdir_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->rmdir,
		    loc, flags, xdata);
	return 0;
}


int32_t
default_unlink_resume (call_frame_t *frame, xlator_t *this, loc_t * loc,
	int32_t flags,
	dict_t * xdata)
{
	STACK_WIND (frame, default_unlink_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->unlink,
		    loc, flags, xdata);
	return 0;
}


int32_t
default_mkdir_resume (call_frame_t *frame, xlator_t *this, loc_t * loc,
	mode_t mode,
	mode_t umask,
	dict_t * xdata)
{
	STACK_WIND (frame, default_mkdir_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->mkdir,
		    loc, mode, umask, xdata);
	return 0;
}


int32_t
default_mknod_resume (call_frame_t *frame, xlator_t *this, loc_t * loc,
	mode_t mode,
	dev_t rdev,
	mode_t umask,
	dict_t * xdata)
{
	STACK_WIND (frame, default_mknod_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->mknod,
		    loc, mode, rdev, umask, xdata);
	return 0;
}


int32_t
default_readlink_resume (call_frame_t *frame, xlator_t *this, loc_t * loc,
	size_t size,
	dict_t * xdata)
{
	STACK_WIND (frame, default_readlink_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->readlink,
		    loc, size, xdata);
	return 0;
}


int32_t
default_access_resume (call_frame_t *frame, xlator_t *this, loc_t * loc,
	int32_t mask,
	dict_t * xdata)
{
	STACK_WIND (frame, default_access_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->access,
		    loc, mask, xdata);
	return 0;
}


int32_t
default_ftruncate_resume (call_frame_t *frame, xlator_t *this, fd_t * fd,
	off_t offset,
	dict_t * xdata)
{
	STACK_WIND (frame, default_ftruncate_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->ftruncate,
		    fd, offset, xdata);
	return 0;
}


int32_t
default_getxattr_resume (call_frame_t *frame, xlator_t *this, loc_t * loc,
	const char * name,
	dict_t * xdata)
{
	STACK_WIND (frame, default_getxattr_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->getxattr,
		    loc, name, xdata);
	return 0;
}


int32_t
default_xattrop_resume (call_frame_t *frame, xlator_t *this, loc_t * loc,
	gf_xattrop_flags_t flags,
	dict_t * dict,
	dict_t * xdata)
{
	STACK_WIND (frame, default_xattrop_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->xattrop,
		    loc, flags, dict, xdata);
	return 0;
}


int32_t
default_fxattrop_resume (call_frame_t *frame, xlator_t *this, fd_t * fd,
	gf_xattrop_flags_t flags,
	dict_t * dict,
	dict_t * xdata)
{
	STACK_WIND (frame, default_fxattrop_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->fxattrop,
		    fd, flags, dict, xdata);
	return 0;
}


int32_t
default_removexattr_resume (call_frame_t *frame, xlator_t *this, loc_t * loc,
	const char * name,
	dict_t * xdata)
{
	STACK_WIND (frame, default_removexattr_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->removexattr,
		    loc, name, xdata);
	return 0;
}


int32_t
default_fremovexattr_resume (call_frame_t *frame, xlator_t *this, fd_t * fd,
	const char * name,
	dict_t * xdata)
{
	STACK_WIND (frame, default_fremovexattr_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->fremovexattr,
		    fd, name, xdata);
	return 0;
}


int32_t
default_lk_resume (call_frame_t *frame, xlator_t *this, fd_t * fd,
	int32_t cmd,
	struct gf_flock * lock,
	dict_t * xdata)
{
	STACK_WIND (frame, default_lk_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->lk,
		    fd, cmd, lock, xdata);
	return 0;
}


int32_t
default_inodelk_resume (call_frame_t *frame, xlator_t *this, const char * volume,
	loc_t * loc,
	int32_t cmd,
	struct gf_flock * lock,
	dict_t * xdata)
{
	STACK_WIND (frame, default_inodelk_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->inodelk,
		    volume, loc, cmd, lock, xdata);
	return 0;
}


int32_t
default_finodelk_resume (call_frame_t *frame, xlator_t *this, const char * volume,
	fd_t * fd,
	int32_t cmd,
	struct gf_flock * lock,
	dict_t * xdata)
{
	STACK_WIND (frame, default_finodelk_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->finodelk,
		    volume, fd, cmd, lock, xdata);
	return 0;
}


int32_t
default_entrylk_resume (call_frame_t *frame, xlator_t *this, const char * volume,
	loc_t * loc,
	const char * basename,
	entrylk_cmd cmd,
	entrylk_type type,
	dict_t * xdata)
{
	STACK_WIND (frame, default_entrylk_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->entrylk,
		    volume, loc, basename, cmd, type, xdata);
	return 0;
}


int32_t
default_fentrylk_resume (call_frame_t *frame, xlator_t *this, const char * volume,
	fd_t * fd,
	const char * basename,
	entrylk_cmd cmd,
	entrylk_type type,
	dict_t * xdata)
{
	STACK_WIND (frame, default_fentrylk_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->fentrylk,
		    volume, fd, basename, cmd, type, xdata);
	return 0;
}


int32_t
default_rchecksum_resume (call_frame_t *frame, xlator_t *this, fd_t * fd,
	off_t offset,
	int32_t len,
	dict_t * xdata)
{
	STACK_WIND (frame, default_rchecksum_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->rchecksum,
		    fd, offset, len, xdata);
	return 0;
}


int32_t
default_readdir_resume (call_frame_t *frame, xlator_t *this, fd_t * fd,
	size_t size,
	off_t off,
	dict_t * xdata)
{
	STACK_WIND (frame, default_readdir_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->readdir,
		    fd, size, off, xdata);
	return 0;
}


int32_t
default_readdirp_resume (call_frame_t *frame, xlator_t *this, fd_t * fd,
	size_t size,
	off_t off,
	dict_t * xdata)
{
	STACK_WIND (frame, default_readdirp_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->readdirp,
		    fd, size, off, xdata);
	return 0;
}


int32_t
default_setattr_resume (call_frame_t *frame, xlator_t *this, loc_t * loc,
	struct iatt * stbuf,
	int32_t valid,
	dict_t * xdata)
{
	STACK_WIND (frame, default_setattr_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->setattr,
		    loc, stbuf, valid, xdata);
	return 0;
}


int32_t
default_truncate_resume (call_frame_t *frame, xlator_t *this, loc_t * loc,
	off_t offset,
	dict_t * xdata)
{
	STACK_WIND (frame, default_truncate_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->truncate,
		    loc, offset, xdata);
	return 0;
}


int32_t
default_stat_resume (call_frame_t *frame, xlator_t *this, loc_t * loc,
	dict_t * xdata)
{
	STACK_WIND (frame, default_stat_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->stat,
		    loc, xdata);
	return 0;
}


int32_t
default_lookup_resume (call_frame_t *frame, xlator_t *this, loc_t * loc,
	dict_t * xdata)
{
	STACK_WIND (frame, default_lookup_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->lookup,
		    loc, xdata);
	return 0;
}


int32_t
default_fsetattr_resume (call_frame_t *frame, xlator_t *this, fd_t * fd,
	struct iatt * stbuf,
	int32_t valid,
	dict_t * xdata)
{
	STACK_WIND (frame, default_fsetattr_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->fsetattr,
		    fd, stbuf, valid, xdata);
	return 0;
}


int32_t
default_fallocate_resume (call_frame_t *frame, xlator_t *this, fd_t * fd,
	int32_t keep_size,
	off_t offset,
	size_t len,
	dict_t * xdata)
{
	STACK_WIND (frame, default_fallocate_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->fallocate,
		    fd, keep_size, offset, len, xdata);
	return 0;
}


int32_t
default_discard_resume (call_frame_t *frame, xlator_t *this, fd_t * fd,
	off_t offset,
	size_t len,
	dict_t * xdata)
{
	STACK_WIND (frame, default_discard_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->discard,
		    fd, offset, len, xdata);
	return 0;
}


int32_t
default_zerofill_resume (call_frame_t *frame, xlator_t *this, fd_t * fd,
	off_t offset,
	off_t len,
	dict_t * xdata)
{
	STACK_WIND (frame, default_zerofill_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->zerofill,
		    fd, offset, len, xdata);
	return 0;
}


int32_t
default_ipc_resume (call_frame_t *frame, xlator_t *this, int32_t op,
	dict_t * xdata)
{
	STACK_WIND (frame, default_ipc_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->ipc,
		    op, xdata);
	return 0;
}


int32_t
default_seek_resume (call_frame_t *frame, xlator_t *this, fd_t * fd,
	off_t offset,
	gf_seek_what_t what,
	dict_t * xdata)
{
	STACK_WIND (frame, default_seek_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->seek,
		    fd, offset, what, xdata);
	return 0;
}


int32_t
default_getspec_resume (call_frame_t *frame, xlator_t *this, const char * key,
	int32_t flags)
{
	STACK_WIND (frame, default_getspec_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->getspec,
		    key, flags);
	return 0;
}


int32_t
default_lease_resume (call_frame_t *frame, xlator_t *this, loc_t * loc,
	struct gf_lease * lease,
	dict_t * xdata)
{
	STACK_WIND (frame, default_lease_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->lease,
		    loc, lease, xdata);
	return 0;
}


int32_t
default_getactivelk_resume (call_frame_t *frame, xlator_t *this, loc_t * loc,
	dict_t * xdata)
{
	STACK_WIND (frame, default_getactivelk_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->getactivelk,
		    loc, xdata);
	return 0;
}


int32_t
default_setactivelk_resume (call_frame_t *frame, xlator_t *this, loc_t * loc,
	lock_migration_info_t * locklist,
	dict_t * xdata)
{
	STACK_WIND (frame, default_setactivelk_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->setactivelk,
		    loc, locklist, xdata);
	return 0;
}


int32_t
default_put_resume (call_frame_t *frame, xlator_t *this, loc_t * loc,
	mode_t mode,
	mode_t umask,
	uint32_t flags,
	struct iovec * vector,
	int32_t count,
	off_t off,
	struct iobref * iobref,
	dict_t * dict,
	dict_t * xdata)
{
	STACK_WIND (frame, default_put_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->put,
		    loc, mode, umask, flags, vector, count, off, iobref, dict, xdata);
	return 0;
}


int32_t
default_icreate_resume (call_frame_t *frame, xlator_t *this, loc_t * loc,
	mode_t mode,
	dict_t * xdata)
{
	STACK_WIND (frame, default_icreate_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->icreate,
		    loc, mode, xdata);
	return 0;
}


int32_t
default_namelink_resume (call_frame_t *frame, xlator_t *this, loc_t * loc,
	dict_t * xdata)
{
	STACK_WIND (frame, default_namelink_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->namelink,
		    loc, xdata);
	return 0;
}


int32_t
default_copy_file_range_resume (call_frame_t *frame, xlator_t *this, fd_t * fd_in,
	off64_t  off_in,
	fd_t * fd_out,
	off64_t  off_out,
	size_t len,
	uint32_t flags,
	dict_t * xdata)
{
	STACK_WIND (frame, default_copy_file_range_cbk,
		    FIRST_CHILD(this), FIRST_CHILD(this)->fops->copy_file_range,
		    fd_in, off_in, fd_out, off_out, len, flags, xdata);
	return 0;
}


int32_t
default_fgetxattr (
	call_frame_t *frame,
	xlator_t *this,
	fd_t * fd,
	const char * name,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->fgetxattr,
			 fd, name, xdata);
	return 0;
}


int32_t
default_fsetxattr (
	call_frame_t *frame,
	xlator_t *this,
	fd_t * fd,
	dict_t * dict,
	int32_t flags,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->fsetxattr,
			 fd, dict, flags, xdata);
	return 0;
}


int32_t
default_setxattr (
	call_frame_t *frame,
	xlator_t *this,
	loc_t * loc,
	dict_t * dict,
	int32_t flags,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->setxattr,
			 loc, dict, flags, xdata);
	return 0;
}


int32_t
default_statfs (
	call_frame_t *frame,
	xlator_t *this,
	loc_t * loc,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->statfs,
			 loc, xdata);
	return 0;
}


int32_t
default_fsyncdir (
	call_frame_t *frame,
	xlator_t *this,
	fd_t * fd,
	int32_t flags,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->fsyncdir,
			 fd, flags, xdata);
	return 0;
}


int32_t
default_opendir (
	call_frame_t *frame,
	xlator_t *this,
	loc_t * loc,
	fd_t * fd,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->opendir,
			 loc, fd, xdata);
	return 0;
}


int32_t
default_fstat (
	call_frame_t *frame,
	xlator_t *this,
	fd_t * fd,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->fstat,
			 fd, xdata);
	return 0;
}


int32_t
default_fsync (
	call_frame_t *frame,
	xlator_t *this,
	fd_t * fd,
	int32_t flags,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->fsync,
			 fd, flags, xdata);
	return 0;
}


int32_t
default_flush (
	call_frame_t *frame,
	xlator_t *this,
	fd_t * fd,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->flush,
			 fd, xdata);
	return 0;
}


int32_t
default_writev (
	call_frame_t *frame,
	xlator_t *this,
	fd_t * fd,
	struct iovec * vector,
	int32_t count,
	off_t off,
	uint32_t flags,
	struct iobref * iobref,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->writev,
			 fd, vector, count, off, flags, iobref, xdata);
	return 0;
}


int32_t
default_readv (
	call_frame_t *frame,
	xlator_t *this,
	fd_t * fd,
	size_t size,
	off_t offset,
	uint32_t flags,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->readv,
			 fd, size, offset, flags, xdata);
	return 0;
}


int32_t
default_open (
	call_frame_t *frame,
	xlator_t *this,
	loc_t * loc,
	int32_t flags,
	fd_t * fd,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->open,
			 loc, flags, fd, xdata);
	return 0;
}


int32_t
default_create (
	call_frame_t *frame,
	xlator_t *this,
	loc_t * loc,
	int32_t flags,
	mode_t mode,
	mode_t umask,
	fd_t * fd,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->create,
			 loc, flags, mode, umask, fd, xdata);
	return 0;
}


int32_t
default_link (
	call_frame_t *frame,
	xlator_t *this,
	loc_t * oldloc,
	loc_t * newloc,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->link,
			 oldloc, newloc, xdata);
	return 0;
}


int32_t
default_rename (
	call_frame_t *frame,
	xlator_t *this,
	loc_t * oldloc,
	loc_t * newloc,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->rename,
			 oldloc, newloc, xdata);
	return 0;
}


int32_t
default_symlink (
	call_frame_t *frame,
	xlator_t *this,
	const char * linkpath,
	loc_t * loc,
	mode_t umask,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->symlink,
			 linkpath, loc, umask, xdata);
	return 0;
}


int32_t
default_rmdir (
	call_frame_t *frame,
	xlator_t *this,
	loc_t * loc,
	int32_t flags,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->rmdir,
			 loc, flags, xdata);
	return 0;
}


int32_t
default_unlink (
	call_frame_t *frame,
	xlator_t *this,
	loc_t * loc,
	int32_t flags,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->unlink,
			 loc, flags, xdata);
	return 0;
}


int32_t
default_mkdir (
	call_frame_t *frame,
	xlator_t *this,
	loc_t * loc,
	mode_t mode,
	mode_t umask,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->mkdir,
			 loc, mode, umask, xdata);
	return 0;
}


int32_t
default_mknod (
	call_frame_t *frame,
	xlator_t *this,
	loc_t * loc,
	mode_t mode,
	dev_t rdev,
	mode_t umask,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->mknod,
			 loc, mode, rdev, umask, xdata);
	return 0;
}


int32_t
default_readlink (
	call_frame_t *frame,
	xlator_t *this,
	loc_t * loc,
	size_t size,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->readlink,
			 loc, size, xdata);
	return 0;
}


int32_t
default_access (
	call_frame_t *frame,
	xlator_t *this,
	loc_t * loc,
	int32_t mask,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->access,
			 loc, mask, xdata);
	return 0;
}


int32_t
default_ftruncate (
	call_frame_t *frame,
	xlator_t *this,
	fd_t * fd,
	off_t offset,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->ftruncate,
			 fd, offset, xdata);
	return 0;
}


int32_t
default_getxattr (
	call_frame_t *frame,
	xlator_t *this,
	loc_t * loc,
	const char * name,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->getxattr,
			 loc, name, xdata);
	return 0;
}


int32_t
default_xattrop (
	call_frame_t *frame,
	xlator_t *this,
	loc_t * loc,
	gf_xattrop_flags_t flags,
	dict_t * dict,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->xattrop,
			 loc, flags, dict, xdata);
	return 0;
}


int32_t
default_fxattrop (
	call_frame_t *frame,
	xlator_t *this,
	fd_t * fd,
	gf_xattrop_flags_t flags,
	dict_t * dict,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->fxattrop,
			 fd, flags, dict, xdata);
	return 0;
}


int32_t
default_removexattr (
	call_frame_t *frame,
	xlator_t *this,
	loc_t * loc,
	const char * name,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->removexattr,
			 loc, name, xdata);
	return 0;
}


int32_t
default_fremovexattr (
	call_frame_t *frame,
	xlator_t *this,
	fd_t * fd,
	const char * name,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->fremovexattr,
			 fd, name, xdata);
	return 0;
}


int32_t
default_lk (
	call_frame_t *frame,
	xlator_t *this,
	fd_t * fd,
	int32_t cmd,
	struct gf_flock * lock,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->lk,
			 fd, cmd, lock, xdata);
	return 0;
}


int32_t
default_inodelk (
	call_frame_t *frame,
	xlator_t *this,
	const char * volume,
	loc_t * loc,
	int32_t cmd,
	struct gf_flock * lock,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->inodelk,
			 volume, loc, cmd, lock, xdata);
	return 0;
}


int32_t
default_finodelk (
	call_frame_t *frame,
	xlator_t *this,
	const char * volume,
	fd_t * fd,
	int32_t cmd,
	struct gf_flock * lock,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->finodelk,
			 volume, fd, cmd, lock, xdata);
	return 0;
}


int32_t
default_entrylk (
	call_frame_t *frame,
	xlator_t *this,
	const char * volume,
	loc_t * loc,
	const char * basename,
	entrylk_cmd cmd,
	entrylk_type type,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->entrylk,
			 volume, loc, basename, cmd, type, xdata);
	return 0;
}


int32_t
default_fentrylk (
	call_frame_t *frame,
	xlator_t *this,
	const char * volume,
	fd_t * fd,
	const char * basename,
	entrylk_cmd cmd,
	entrylk_type type,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->fentrylk,
			 volume, fd, basename, cmd, type, xdata);
	return 0;
}


int32_t
default_rchecksum (
	call_frame_t *frame,
	xlator_t *this,
	fd_t * fd,
	off_t offset,
	int32_t len,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->rchecksum,
			 fd, offset, len, xdata);
	return 0;
}


int32_t
default_readdir (
	call_frame_t *frame,
	xlator_t *this,
	fd_t * fd,
	size_t size,
	off_t off,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->readdir,
			 fd, size, off, xdata);
	return 0;
}


int32_t
default_readdirp (
	call_frame_t *frame,
	xlator_t *this,
	fd_t * fd,
	size_t size,
	off_t off,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->readdirp,
			 fd, size, off, xdata);
	return 0;
}


int32_t
default_setattr (
	call_frame_t *frame,
	xlator_t *this,
	loc_t * loc,
	struct iatt * stbuf,
	int32_t valid,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->setattr,
			 loc, stbuf, valid, xdata);
	return 0;
}


int32_t
default_truncate (
	call_frame_t *frame,
	xlator_t *this,
	loc_t * loc,
	off_t offset,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->truncate,
			 loc, offset, xdata);
	return 0;
}


int32_t
default_stat (
	call_frame_t *frame,
	xlator_t *this,
	loc_t * loc,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->stat,
			 loc, xdata);
	return 0;
}


int32_t
default_lookup (
	call_frame_t *frame,
	xlator_t *this,
	loc_t * loc,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->lookup,
			 loc, xdata);
	return 0;
}


int32_t
default_fsetattr (
	call_frame_t *frame,
	xlator_t *this,
	fd_t * fd,
	struct iatt * stbuf,
	int32_t valid,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->fsetattr,
			 fd, stbuf, valid, xdata);
	return 0;
}


int32_t
default_fallocate (
	call_frame_t *frame,
	xlator_t *this,
	fd_t * fd,
	int32_t keep_size,
	off_t offset,
	size_t len,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->fallocate,
			 fd, keep_size, offset, len, xdata);
	return 0;
}


int32_t
default_discard (
	call_frame_t *frame,
	xlator_t *this,
	fd_t * fd,
	off_t offset,
	size_t len,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->discard,
			 fd, offset, len, xdata);
	return 0;
}


int32_t
default_zerofill (
	call_frame_t *frame,
	xlator_t *this,
	fd_t * fd,
	off_t offset,
	off_t len,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->zerofill,
			 fd, offset, len, xdata);
	return 0;
}


int32_t
default_ipc (
	call_frame_t *frame,
	xlator_t *this,
	int32_t op,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->ipc,
			 op, xdata);
	return 0;
}


int32_t
default_seek (
	call_frame_t *frame,
	xlator_t *this,
	fd_t * fd,
	off_t offset,
	gf_seek_what_t what,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->seek,
			 fd, offset, what, xdata);
	return 0;
}


int32_t
default_getspec (
	call_frame_t *frame,
	xlator_t *this,
	const char * key,
	int32_t flags)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->getspec,
			 key, flags);
	return 0;
}


int32_t
default_lease (
	call_frame_t *frame,
	xlator_t *this,
	loc_t * loc,
	struct gf_lease * lease,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->lease,
			 loc, lease, xdata);
	return 0;
}


int32_t
default_getactivelk (
	call_frame_t *frame,
	xlator_t *this,
	loc_t * loc,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->getactivelk,
			 loc, xdata);
	return 0;
}


int32_t
default_setactivelk (
	call_frame_t *frame,
	xlator_t *this,
	loc_t * loc,
	lock_migration_info_t * locklist,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->setactivelk,
			 loc, locklist, xdata);
	return 0;
}


int32_t
default_put (
	call_frame_t *frame,
	xlator_t *this,
	loc_t * loc,
	mode_t mode,
	mode_t umask,
	uint32_t flags,
	struct iovec * vector,
	int32_t count,
	off_t off,
	struct iobref * iobref,
	dict_t * dict,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->put,
			 loc, mode, umask, flags, vector, count, off, iobref, dict, xdata);
	return 0;
}


int32_t
default_icreate (
	call_frame_t *frame,
	xlator_t *this,
	loc_t * loc,
	mode_t mode,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->icreate,
			 loc, mode, xdata);
	return 0;
}


int32_t
default_namelink (
	call_frame_t *frame,
	xlator_t *this,
	loc_t * loc,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->namelink,
			 loc, xdata);
	return 0;
}


int32_t
default_copy_file_range (
	call_frame_t *frame,
	xlator_t *this,
	fd_t * fd_in,
	off64_t  off_in,
	fd_t * fd_out,
	off64_t  off_out,
	size_t len,
	uint32_t flags,
	dict_t * xdata)
{
	STACK_WIND_TAIL (frame,
			 FIRST_CHILD(this), FIRST_CHILD(this)->fops->copy_file_range,
			 fd_in, off_in, fd_out, off_out, len, flags, xdata);
	return 0;
}

/* END GENERATED CODE */

struct xlator_fops _default_fops = {
    .create = default_create,
    .open = default_open,
    .stat = default_stat,
    .readlink = default_readlink,
    .mknod = default_mknod,
    .mkdir = default_mkdir,
    .unlink = default_unlink,
    .rmdir = default_rmdir,
    .symlink = default_symlink,
    .rename = default_rename,
    .link = default_link,
    .truncate = default_truncate,
    .readv = default_readv,
    .writev = default_writev,
    .statfs = default_statfs,
    .flush = default_flush,
    .fsync = default_fsync,
    .setxattr = default_setxattr,
    .getxattr = default_getxattr,
    .fsetxattr = default_fsetxattr,
    .fgetxattr = default_fgetxattr,
    .removexattr = default_removexattr,
    .fremovexattr = default_fremovexattr,
    .opendir = default_opendir,
    .readdir = default_readdir,
    .readdirp = default_readdirp,
    .fsyncdir = default_fsyncdir,
    .access = default_access,
    .ftruncate = default_ftruncate,
    .fstat = default_fstat,
    .lk = default_lk,
    .inodelk = default_inodelk,
    .finodelk = default_finodelk,
    .entrylk = default_entrylk,
    .fentrylk = default_fentrylk,
    .lookup = default_lookup,
    .rchecksum = default_rchecksum,
    .xattrop = default_xattrop,
    .fxattrop = default_fxattrop,
    .setattr = default_setattr,
    .fsetattr = default_fsetattr,
    .fallocate = default_fallocate,
    .discard = default_discard,
    .zerofill = default_zerofill,
    .ipc = default_ipc,
    .seek = default_seek,

    .getspec = default_getspec,
    .getactivelk = default_getactivelk,
    .setactivelk = default_setactivelk,
    .put = default_put,
    .icreate = default_icreate,
    .namelink = default_namelink,
    .copy_file_range = default_copy_file_range,
};
struct xlator_fops *default_fops = &_default_fops;

/*
 * Remaining functions don't follow the fop calling conventions, so they're
 * not generated.
 */

int32_t
default_forget(xlator_t *this, inode_t *inode)
{
    gf_log_callingfn(this->name, GF_LOG_DEBUG,
                     "xlator does not "
                     "implement forget_cbk");
    return 0;
}

int32_t
default_releasedir(xlator_t *this, fd_t *fd)
{
    gf_log_callingfn(this->name, GF_LOG_DEBUG,
                     "xlator does not "
                     "implement releasedir_cbk");
    return 0;
}

int32_t
default_release(xlator_t *this, fd_t *fd)
{
    gf_log_callingfn(this->name, GF_LOG_DEBUG,
                     "xlator does not "
                     "implement release_cbk");
    return 0;
}

/* notify */
int
default_notify(xlator_t *this, int32_t event, void *data, ...)
{
    GF_UNUSED int ret = 0;
    xlator_t *victim = data;

    glusterfs_graph_t *graph = NULL;

    GF_VALIDATE_OR_GOTO("notify", this, out);
    graph = this->graph;
    GF_VALIDATE_OR_GOTO(this->name, graph, out);

    switch (event) {
        case GF_EVENT_PARENT_UP:
        case GF_EVENT_PARENT_DOWN: {
            xlator_list_t *list = this->children;

            while (list) {
                if (victim && victim->cleanup_starting)
                    xlator_notify(list->xlator, event, victim);
                else
                    xlator_notify(list->xlator, event, this);
                list = list->next;
            }
        } break;
        case GF_EVENT_CHILD_CONNECTING:
        case GF_EVENT_CHILD_DOWN:
        case GF_EVENT_CHILD_UP:
        case GF_EVENT_AUTH_FAILED: {
            xlator_list_t *parent = this->parents;

            /*
             * Handle case of CHILD_* & AUTH_FAILED event specially, send
             * it to fuse.
             */
            if (!parent && this->ctx && this->ctx->root) {
                xlator_notify(this->ctx->root, event, this->graph, NULL);
            }

            while (parent) {
                if (parent->xlator->init_succeeded)
                    xlator_notify(parent->xlator, event, this, NULL);
                parent = parent->next;
            }

            if (event == GF_EVENT_CHILD_DOWN &&
                !(this->ctx && this->ctx->root) && (graph->top == this)) {
                /* Make sure this is not a daemon with root xlator */
                pthread_mutex_lock(&graph->mutex);
                {
                    if (graph->parent_down ==
                        graph_total_client_xlator(graph)) {
                        graph->used = 0;
                        pthread_cond_broadcast(&graph->child_down_cond);
                    }
                }
                pthread_mutex_unlock(&graph->mutex);
            }
        } break;
        case GF_EVENT_UPCALL: {
            xlator_list_t *parent = this->parents;

            if (!parent && this->ctx && this->ctx->root)
                xlator_notify(this->ctx->root, event, data, NULL);

            while (parent) {
                if (parent->xlator->init_succeeded)
                    xlator_notify(parent->xlator, event, data, NULL);
                parent = parent->next;
            }
        } break;
        case GF_EVENT_CHILD_PING: {
            xlator_list_t *parent = this->parents;

            while (parent) {
                if (parent->xlator->init_succeeded)
                    XLATOR_NOTIFY(ret, parent->xlator, event, this, data);
                parent = parent->next;
            }
        } break;
        case GF_EVENT_SIGHUP:
        case GF_EVENT_CLEANUP: {
            xlator_list_t *list = this->children;

            while (list) {
                xlator_notify(list->xlator, event, this);
                list = list->next;
            }
        } break;

        default: {
            xlator_list_t *parent = this->parents;

            while (parent) {
                if (parent->xlator->init_succeeded)
                    xlator_notify(parent->xlator, event, this, NULL);
                parent = parent->next;
            }
        }
            /*
             * Apparently our picky-about-everything else coding standard allows
             * adjacent same-indendation-level close braces.  Clearly it has
             * nothing to do with readability.
             */
    }
out:
    return 0;
}

int32_t
default_mem_acct_init(xlator_t *this)
{
    int ret = -1;

    ret = xlator_mem_acct_init(this, gf_common_mt_end);

    return ret;
}

void
default_fini(xlator_t *this)
{
    if (this && this->private)
        GF_FREE(this->private);
}
