summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/defaults.h
diff options
context:
space:
mode:
authorAnand Avati <avati@redhat.com>2014-03-26 10:59:27 -0700
committerAnand Avati <avati@redhat.com>2014-04-20 18:06:57 -0700
commita67630b3970f9ad035a1d1463d9c2a6c6e7de736 (patch)
tree2e7dc713df74627bd9b508cc511dfcbbb8eccf76 /libglusterfs/src/defaults.h
parent99d86b1a1afe62c06f7aa2e3d6bb68df7762ce48 (diff)
defaults: add new symbol default_fops
with members filled with pointers to appropriate default methods Change-Id: I6cdc43e4f6776e2ad45cd5cbca5642e0c639ffde BUG: 1089216 Signed-off-by: Anand Avati <avati@redhat.com> Reviewed-on: http://review.gluster.org/7504 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'libglusterfs/src/defaults.h')
-rw-r--r--libglusterfs/src/defaults.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libglusterfs/src/defaults.h b/libglusterfs/src/defaults.h
index 1b33e809900..9bd5eb842ad 100644
--- a/libglusterfs/src/defaults.h
+++ b/libglusterfs/src/defaults.h
@@ -34,6 +34,8 @@ int32_t default_release (xlator_t *this, fd_t *fd);
int32_t default_releasedir (xlator_t *this, fd_t *fd);
+extern struct xlator_fops *default_fops;
+
/* Management Operations */
int32_t default_getspec (call_frame_t *frame,