diff options
| author | Kaushal M <kaushal@redhat.com> | 2015-03-17 12:06:25 +0530 |
|---|---|---|
| committer | gluster-ant <bugzilla-bot@gluster.org> | 2015-03-17 12:06:25 +0530 |
| commit | 6d9d3b13b5ae1e45729f99f41b3d33e500fcffb0 (patch) | |
| tree | f6f7a49e21effb7c4fe956577876a78195d6d7ff /cli/src/cli-cmd-parser.c | |
| parent | f292036f2adc14b4df2109a8de647c2aa18e0f9e (diff) | |
glusterd: Remove compilation warning
In glusterd_peerinfo_destroy, cast the passed 'strcut rcu_head *'
pointer to 'gd_rcu_head *' before use in caa_container_of() to prevent
the incompatible-pointer compilation warning.
Also, refactor peerinfo->head to peerinfo->rcu_head to reduce confusion
when reading code.
This change was developed on the git branch at [1]. This commit is a
combination of the following commits on the development branch.
aa4a0bc Rename peerinfo->head to peerinfo->rcu_head
c79144b Cast struct rcu_head * to gd_rcu_head * to prevent warning
1d222c3 More head -> rcu_head renames
[1]: https://github.com/kshlm/glusterfs/tree/urcu
BUG: 1191030
Change-Id: I7ede02090413839563ce44fdf6289697b28777e7
Signed-off-by: Kaushal M <kaushal@redhat.com>
Reviewed-on: http://review.gluster.org/9922
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'cli/src/cli-cmd-parser.c')
0 files changed, 0 insertions, 0 deletions
