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/features/quiesce/src | |
| parent | 5a4e1e69b2ec65dcefa6b37b8ac7d058f3a2c29f (diff) | |
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/features/quiesce/src')
| -rw-r--r-- | xlators/features/quiesce/src/quiesce.c | 14 | 
1 files changed, 6 insertions, 8 deletions
diff --git a/xlators/features/quiesce/src/quiesce.c b/xlators/features/quiesce/src/quiesce.c index 168e32373d5..32fac39bb0a 100644 --- a/xlators/features/quiesce/src/quiesce.c +++ b/xlators/features/quiesce/src/quiesce.c @@ -628,10 +628,9 @@ quiesce_symlink (call_frame_t *frame, xlator_t *this,          return 0;  } -int32_t -quiesce_rmdir (call_frame_t *frame, -	       xlator_t *this, -	       loc_t *loc) + +int +quiesce_rmdir (call_frame_t *frame, xlator_t *this, loc_t *loc, int flags)  {  	quiesce_priv_t *priv = NULL;          call_stub_t    *stub = NULL; @@ -639,15 +638,14 @@ quiesce_rmdir (call_frame_t *frame,          priv = this->private;          if (priv->pass_through) { -                STACK_WIND (frame, -                            default_rmdir_cbk, +                STACK_WIND (frame, default_rmdir_cbk,                              FIRST_CHILD(this),                              FIRST_CHILD(this)->fops->rmdir, -                            loc); +                            loc, flags);  	        return 0;          } -        stub = fop_rmdir_stub (frame, default_rmdir_resume, loc); +        stub = fop_rmdir_stub (frame, default_rmdir_resume, loc, flags);          if (!stub) {                  STACK_UNWIND_STRICT (rmdir, frame, -1, ENOMEM, NULL, NULL);                  return 0;  | 
