summaryrefslogtreecommitdiffstats
path: root/xlators/features
diff options
context:
space:
mode:
authorGaurav Kumar Garg <garg.gaurav52@gmail.com>2015-12-22 12:05:39 +0530
committerAtin Mukherjee <amukherj@redhat.com>2015-12-28 06:59:22 -0800
commite4de816ae126b62906afcc1ce1216500b517e222 (patch)
treebe6bf9438d23a0d838e4efcaffa8fd8c1823adf6 /xlators/features
parenta370013898585a87657ae41e4f266da5d98cc5d2 (diff)
cli: should not dereference NULL pointer while printing bitrot scrub status
When user execute bitrot scrub status command and scrubber is pending to do scrubbing then value of last_scrub time will be NULL. Currently cli is dereferencing NULL pointer in this case, That might lead to crash. Fix is to use proper check condition while printing scrub status. Change-Id: I3c4be8e25d089451c6ab77b16737c01d0348ee70 BUG: 1293558 Signed-off-by: Gaurav Kumar Garg <ggarg@redhat.com> Reviewed-on: http://review.gluster.org/13060 Reviewed-by: Atin Mukherjee <amukherj@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Diffstat (limited to 'xlators/features')
0 files changed, 0 insertions, 0 deletions