summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-self-heal-entry.c
diff options
context:
space:
mode:
authorAnand Avati <avati@gluster.com>2010-09-03 13:59:48 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-09-04 01:45:21 -0700
commit8b9a144414162413a399d59975fe3b7347907f4f (patch)
treeb37a01b2c146b47a772dd3a7f4ce3563577923fa /xlators/cluster/afr/src/afr-self-heal-entry.c
parentd838e4496dec6b8889de47dd0ee31c4899ec7407 (diff)
gfid: changes in mkdir() prototype to have params dictionary with uuid in it
Signed-off-by: Anand V. Avati <avati@blackhole.gluster.com> Signed-off-by: Anand V. Avati <avati@amp.gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 971 (dynamic volume management) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heal-entry.c')
-rw-r--r--xlators/cluster/afr/src/afr-self-heal-entry.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heal-entry.c b/xlators/cluster/afr/src/afr-self-heal-entry.c
index f95d8fc7e9c..140795bdd7f 100644
--- a/xlators/cluster/afr/src/afr-self-heal-entry.c
+++ b/xlators/cluster/afr/src/afr-self-heal-entry.c
@@ -575,7 +575,7 @@ afr_sh_entry_expunge_lookup_trash_cbk (call_frame_t *expunge_frame, void *cookie
(void *) (long) active_src,
priv->children[active_src],
priv->children[active_src]->fops->mkdir,
- &trash_loc, 0777);
+ &trash_loc, 0777, NULL);
loc_wipe (&trash_loc);
return 0;
@@ -1315,7 +1315,8 @@ afr_sh_entry_impunge_mkdir (call_frame_t *impunge_frame, xlator_t *this,
priv->children[child_index],
priv->children[child_index]->fops->mkdir,
&impunge_local->loc,
- st_mode_from_ia (stbuf->ia_prot, stbuf->ia_type));
+ st_mode_from_ia (stbuf->ia_prot, stbuf->ia_type),
+ NULL);
return 0;
}