diff options
author | Anand V. Avati <avati@amp.gluster.com> | 2010-10-02 11:25:05 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-10-02 22:18:56 -0700 |
commit | 99caede76b0ef312d622b2387bf9524724e7c6df (patch) | |
tree | 7b6c8cc969b5e8460e4ac4b67734422e3fad782c /xlators/cluster/afr/src/afr-dir-write.c | |
parent | 5a4e1e69b2ec65dcefa6b37b8ac7d058f3a2c29f (diff) | |
download | glusterfs-99caede76b0ef312d622b2387bf9524724e7c6df.tar.gz glusterfs-99caede76b0ef312d622b2387bf9524724e7c6df.tar.xz glusterfs-99caede76b0ef312d622b2387bf9524724e7c6df.zip |
rmdir: introduce extra flags parameter in FOP prototype
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-dir-write.c')
-rw-r--r-- | xlators/cluster/afr/src/afr-dir-write.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xlators/cluster/afr/src/afr-dir-write.c b/xlators/cluster/afr/src/afr-dir-write.c index 1aa268f66e..1226285f77 100644 --- a/xlators/cluster/afr/src/afr-dir-write.c +++ b/xlators/cluster/afr/src/afr-dir-write.c @@ -1900,7 +1900,7 @@ afr_rmdir_wind (call_frame_t *frame, xlator_t *this) (void *) (long) i, priv->children[i], priv->children[i]->fops->rmdir, - &local->loc); + &local->loc, local->cont.rmdir.flags); if (!--call_count) break; @@ -1926,7 +1926,7 @@ afr_rmdir_done (call_frame_t *frame, xlator_t *this) int afr_rmdir (call_frame_t *frame, xlator_t *this, - loc_t *loc) + loc_t *loc, int flags) { afr_private_t * priv = NULL; afr_local_t * local = NULL; @@ -1960,6 +1960,7 @@ afr_rmdir (call_frame_t *frame, xlator_t *this, transaction_frame->local = local; + local->cont.rmdir.flags = flags; loc_copy (&local->loc, loc); if (loc->parent) |