diff options
author | Jeff Darcy <jdarcy@redhat.com> | 2017-03-09 12:49:27 -0500 |
---|---|---|
committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2017-03-10 14:51:13 -0500 |
commit | 41eba3545c46c4cd0b9fcf6fc87284adc64ebcf5 (patch) | |
tree | 27d3b3a34aa13e89c15aefefc50d4ccde6cd81b8 /cli | |
parent | e6c10359ab90178f89aa23ae9328174c2602e88d (diff) |
glusterfsd+libglusterfs: add null checks during attach
It's possible (though unlikely) that we could get a brick-attach
request while we're not ready to process it (ctx->active not set yet).
Add code to guard against this possibility, and return appropriate
error indicators.
Backport of:
> 90b2b9b29f552fe9ab53de5c4123003522399e6d
> BUG: 1430860
> Reviewed-on: https://review.gluster.org/16883
Change-Id: Icb3bc52ce749258a3f03cbbbdf4c2320c5c541a0
BUG: 1422769
Signed-off-by: Jeff Darcy <jdarcy@redhat.com>
Reviewed-on: https://review.gluster.org/16888
Smoke: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com>
Diffstat (limited to 'cli')
0 files changed, 0 insertions, 0 deletions