diff options
author | Susant Palai <spalai@redhat.com> | 2015-09-11 08:52:44 -0400 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2015-09-13 22:48:48 -0700 |
commit | c31ac73cd8e9ca4b872a48667e09019991dea00b (patch) | |
tree | e890181d53ef8191b5907f0d42eef5f966abac8a /api/src | |
parent | 605e47fe69a7e11f09f95699348dfab4bbab03ff (diff) |
dht/cluster: Avoid crash if local is NULL
This patch addresses crash handling if local is NULL. In addition to that,
we were not unwinding if no lock is taken in dht_linkfile_create_cbk(create/mknod).
This patch handles that also.
Change-Id: Ibcff317f10d60e7865fd7ffb9479b3af53c9ef17
BUG: 1260051
Signed-off-by: Susant Palai <spalai@redhat.com>
Reviewed-on: http://review.gluster.org/12160
Reviewed-by: N Balachandran <nbalacha@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'api/src')
0 files changed, 0 insertions, 0 deletions