diff options
author | Kotresh HR <khiremat@redhat.com> | 2016-05-02 15:33:13 +0530 |
---|---|---|
committer | Jeff Darcy <jdarcy@redhat.com> | 2016-05-02 11:04:30 -0700 |
commit | 19264ccb20070798121d2ebfb3a0d2b1fb7a03bb (patch) | |
tree | 419520a9d7d9a717f89bce7c38d8b89b3279a4a1 /api | |
parent | 209985e861f4d8a22bfdb457c0e8d7045ab44553 (diff) |
features/bitrot: Fix Compilation Warning!!!
Earlier the lock was using glusterfs macros
LOCK/UNLOCK/LOCK_INIT/LOCK_DESTROY. The patch
http://review.gluster.org/#/c/14140/ used 'pthread_cleanup_push'
interface for the same lock which was giving "initialization
discards qualifiers from pointer target type". It's strange that
the build succeeded in master branch with no warnings but fails for
the backport http://review.gluster.org/#/c/14140/ in 3.7 branch
treating this warning as error.
Change-Id: I75c8a65a2bfb1147fe9a84cfd8f09a97c089ae70
BUG: 1332134
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Reviewed-on: http://review.gluster.org/14146
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Smoke: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'api')
0 files changed, 0 insertions, 0 deletions