diff options
author | Anand Avati <avati@gluster.com> | 2009-12-01 19:58:02 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-12-01 17:52:50 -0800 |
commit | dc16ba6f79726e9c42d2309947ad805978375b8c (patch) | |
tree | a0c9c1536f9f927a65e9e141a222edf788791ecc /xlators/cluster | |
parent | 933e87700e25e83bcd5e9ba4c4f580d48fcaccee (diff) |
afr: fix fd reference leak
Signed-off-by: Anand V. Avati <avati@blackhole.gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 170 (Auto-heal fails on files that are open()-ed/mmap()-ed)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=170
Diffstat (limited to 'xlators/cluster')
-rw-r--r-- | xlators/cluster/afr/src/afr-open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr-open.c b/xlators/cluster/afr/src/afr-open.c index 539e258a1d7..e60ec70c0c4 100644 --- a/xlators/cluster/afr/src/afr-open.c +++ b/xlators/cluster/afr/src/afr-open.c @@ -455,7 +455,7 @@ afr_up_down_flush (call_frame_t *frame, xlator_t *this, fd_t *fd, local->op = GF_FOP_FLUSH; - local->fd = fd_ref (local->fd); +// local->fd = fd_ref (local->fd); local->transaction.fop = afr_up_down_flush_wind; local->transaction.done = afr_up_down_flush_done; |