From 99caede76b0ef312d622b2387bf9524724e7c6df Mon Sep 17 00:00:00 2001 From: "Anand V. Avati" Date: Sat, 2 Oct 2010 11:25:05 +0000 Subject: rmdir: introduce extra flags parameter in FOP prototype Signed-off-by: Anand V. Avati Signed-off-by: Vijay Bellur BUG: 971 (dynamic volume management) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971 --- libglusterfs/src/defaults.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'libglusterfs/src/defaults.h') diff --git a/libglusterfs/src/defaults.h b/libglusterfs/src/defaults.h index f02358210..76cb78d7e 100644 --- a/libglusterfs/src/defaults.h +++ b/libglusterfs/src/defaults.h @@ -87,9 +87,8 @@ int32_t default_unlink (call_frame_t *frame, xlator_t *this, loc_t *loc); -int32_t default_rmdir (call_frame_t *frame, - xlator_t *this, - loc_t *loc); +int32_t default_rmdir (call_frame_t *frame, xlator_t *this, + loc_t *loc, int flags); int32_t default_symlink (call_frame_t *frame, xlator_t *this, const char *linkpath, loc_t *loc, dict_t *params); @@ -302,9 +301,8 @@ int32_t default_unlink_resume (call_frame_t *frame, xlator_t *this, loc_t *loc); -int32_t default_rmdir_resume (call_frame_t *frame, - xlator_t *this, - loc_t *loc); +int32_t default_rmdir_resume (call_frame_t *frame, xlator_t *this, + loc_t *loc, int flags); int32_t default_symlink_resume (call_frame_t *frame, xlator_t *this, const char *linkpath, loc_t *loc, dict_t *params); -- cgit