summaryrefslogtreecommitdiffstats
path: root/cli/src/cli-cmd-volume.c
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2011-09-26 17:42:40 +0530
committerVijay Bellur <vijay@gluster.com>2011-09-27 05:37:59 -0700
commitea71efe027e9f741032b6bf9dd995bcaa2fa7947 (patch)
tree0cc90449ee5bb0331b52da83c6f99b31587fe9cf /cli/src/cli-cmd-volume.c
parent0286dd866a89c035073294c348a43beca3109c38 (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-volume.c')
0 files changed, 0 insertions, 0 deletions