diff options
| author | Amar Tumballi <amar@gluster.com> | 2011-09-26 17:42:40 +0530 |
|---|---|---|
| committer | gluster-ant <bugzilla-bot@gluster.org> | 2011-09-26 17:42:40 +0530 |
| commit | e4d80a83d8c4c5efae0d6dcc369bf864c306c4e7 (patch) | |
| tree | 416b7a738e92b76d55a5f211c08b223c65c4034b /cli/src/cli-cmd-parser.c | |
| parent | 825319d6eb2f5ff7303440ba0cd8ff77ba857743 (diff) | |
cluster/distribute: fixed a spurious inode ref
While bringing in support to open-fd migration, dht_local_init()
itself started doing 'loc_copy()'. I had left one case in dht_lookup()
where there is a extra loc_copy() on existing copied 'local->loc',
which would cause 2 inode_refs on a given inode, and only one
inode_unref() happens in dht_local_wipe().
Change-Id: Idd0375bdf9a6408db1e97e80389249ef8d802adb
BUG: 3590
Reviewed-on: http://review.gluster.com/504
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Shishir Gowda <shishirng@gluster.com>
Diffstat (limited to 'cli/src/cli-cmd-parser.c')
0 files changed, 0 insertions, 0 deletions
