diff options
author | Manikandan Selvaganesh <mselvaga@redhat.com> | 2015-04-08 12:19:18 +0530 |
---|---|---|
committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2015-04-08 19:19:38 +0000 |
commit | 71897c714f570ae9a64ad0809fd890d1d5265b23 (patch) | |
tree | fbb225124db144704576bc26d1700443a4c7328f /xlators/cluster/dht/src/dht-common.c | |
parent | 737c027edc51749ebe023baf4ec0db3077329988 (diff) |
dht : null dereference coverity fix
Change-Id: I700e7ebdfe4929a6d74406ea081059bdddcf7a79
BUG: 789278
Signed-off-by: Manikandan Selvaganesh <mselvaga@redhat.com>
Reviewed-on: http://review.gluster.org/9628
Reviewed-by: N Balachandran <nbalacha@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Humble Devassy Chirammal <humble.devassy@gmail.com>
Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-common.c')
-rw-r--r-- | xlators/cluster/dht/src/dht-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/dht/src/dht-common.c b/xlators/cluster/dht/src/dht-common.c index c91c7eeec48..b85edde09a9 100644 --- a/xlators/cluster/dht/src/dht-common.c +++ b/xlators/cluster/dht/src/dht-common.c @@ -1971,7 +1971,7 @@ out: * from each of the subvolume. See dht_iatt_merge for reference. */ - if (!op_ret && local->loc.parent) { + if (!op_ret && local && local->loc.parent) { dht_inode_ctx_time_update (local->loc.parent, this, postparent, 1); } |