diff options
author | Raghavendra Bhat <raghavendra@redhat.com> | 2013-02-19 12:37:04 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-09-09 17:19:36 -0700 |
commit | 3438475cfda277fac0de6758ea9f85e3587596b5 (patch) | |
tree | 3f3936ae46418d13ebc8c2056ad80d41994a7cf4 /xlators/performance | |
parent | 64c84723064ed9ef9f2a7755d3afffd1ecf08af4 (diff) |
performance/open-behind: use anonymous fd for doing fstat and readv
Change-Id: I61a3c221e0a15736ab6315e2538c03dac27480a5
BUG: 846240
Signed-off-by: Raghavendra Bhat <raghavendra@redhat.com>
Reviewed-on: http://review.gluster.org/4483
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Reviewed-on: http://review.gluster.org/5807
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'xlators/performance')
-rw-r--r-- | xlators/performance/open-behind/src/open-behind.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/performance/open-behind/src/open-behind.c b/xlators/performance/open-behind/src/open-behind.c index e6791973489..ec5f62580af 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: |