diff options
author | Raghavendra Bhat <raghavendra@redhat.com> | 2013-01-30 13:47:31 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-01-30 23:40:37 -0800 |
commit | e979c0de9dde14fe18d0ad7298c6da9cc878bbab (patch) | |
tree | c37dc5a0f29d16622d4eb902cddce57abe7891db /xlators/mount | |
parent | 559219492477624290b4962a9f82c49bcda011d9 (diff) |
libglusterfs/syncop: do not hold ref on the fd in cbk
* Do not do fd_ref in cbks of the fops which return a fd (such as
open, opendir, create).
Change-Id: Ic2f5b234c5c09c258494f4fb5d600a64813823ad
BUG: 885008
Signed-off-by: Raghavendra Bhat <raghavendra@redhat.com>
Reviewed-on: http://review.gluster.org/4282
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Amar Tumballi <amarts@redhat.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/mount')
-rw-r--r-- | xlators/mount/fuse/src/fuse-bridge.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c index 875abbe1db1..65df671305b 100644 --- a/xlators/mount/fuse/src/fuse-bridge.c +++ b/xlators/mount/fuse/src/fuse-bridge.c @@ -3819,7 +3819,6 @@ fuse_migrate_fd_open (xlator_t *this, fd_t *basefd, fd_t *oldfd, out: loc_wipe (&loc); - fd_unref (newfd); return ret; } |