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 --- xlators/debug/trace/src/trace.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'xlators/debug/trace') diff --git a/xlators/debug/trace/src/trace.c b/xlators/debug/trace/src/trace.c index c1de19104f8..1343d758d9d 100644 --- a/xlators/debug/trace/src/trace.c +++ b/xlators/debug/trace/src/trace.c @@ -1525,18 +1525,18 @@ trace_unlink (call_frame_t *frame, xlator_t *this, loc_t *loc) int -trace_rmdir (call_frame_t *frame, xlator_t *this, loc_t *loc) +trace_rmdir (call_frame_t *frame, xlator_t *this, loc_t *loc, int flags) { if (trace_fop_names[GF_FOP_RMDIR].enabled) { gf_log (this->name, GF_LOG_NORMAL, - "%"PRId64": (loc {path=%s, ino=%"PRIu64"})", - frame->root->unique, loc->path, loc->inode->ino); + "%"PRId64": (loc {path=%s, ino=%"PRIu64"}, flags=%d)", + frame->root->unique, loc->path, loc->inode->ino, flags); } STACK_WIND (frame, trace_rmdir_cbk, FIRST_CHILD(this), FIRST_CHILD(this)->fops->rmdir, - loc); + loc, flags); return 0; } -- cgit