From f1ce56daf8dff68dc59a7ad4841e428296157011 Mon Sep 17 00:00:00 2001 From: Raghavendra Bhat Date: Tue, 19 Feb 2013 12:37:04 +0530 Subject: performance/open-behind: use anonymous fd for doing fstat and readv Change-Id: I61a3c221e0a15736ab6315e2538c03dac27480a5 BUG: 846240 Signed-off-by: Raghavendra Bhat Reviewed-on: http://review.gluster.org/4483 Tested-by: Gluster Build System Reviewed-by: Anand Avati --- xlators/performance/open-behind/src/open-behind.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xlators/performance') diff --git a/xlators/performance/open-behind/src/open-behind.c b/xlators/performance/open-behind/src/open-behind.c index e67919734..ec5f62580 100644 --- a/xlators/performance/open-behind/src/open-behind.c +++ b/xlators/performance/open-behind/src/open-behind.c @@ -361,7 +361,7 @@ ob_readv (call_frame_t *frame, xlator_t *this, fd_t *fd, size_t size, if (!stub) goto err; - open_and_resume (this, fd, stub); + open_and_resume (this, wind_fd, stub); return 0; err: @@ -408,7 +408,7 @@ ob_fstat (call_frame_t *frame, xlator_t *this, fd_t *fd, dict_t *xdata) if (!stub) goto err; - open_and_resume (this, fd, stub); + open_and_resume (this, wind_fd, stub); return 0; err: -- cgit