diff options
author | Raghavendra Talur <rtalur@redhat.com> | 2013-08-29 17:17:14 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-08-29 14:11:50 -0700 |
commit | 479087c1e670faea4a0ef7a6d13a9869ef9de69f (patch) | |
tree | 5babd1433c89bd4d9dddd9d0682e34293b5221de /libglusterfs | |
parent | 2ec4b22bb02f572f74157df5264b247095fece77 (diff) |
api: Add null check for active_subvol in glfs_close.
Problem:
In glfs_close, NULL value returned by glfs_active_subvol was not
being checked and was causing a crash.
Change-Id: I6eefa60e7b07dee251b98932b1d08a5c2981d3d7
BUG: 1002511
Signed-off-by: Raghavendra Talur <rtalur@redhat.com>
Reviewed-on: http://review.gluster.org/5733
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'libglusterfs')
0 files changed, 0 insertions, 0 deletions