summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-pmap.c
diff options
context:
space:
mode:
authorNiels de Vos <ndevos@redhat.com>2014-11-15 23:07:04 +0100
committerVenky Shankar <vshankar@redhat.com>2014-11-17 18:56:17 -0800
commitcc57d9bee98270e6e961765716d421bf2f0950d3 (patch)
tree9dad4365bce307ac8bbb5bdce4a71cea4a4eea13 /xlators/mgmt/glusterd/src/glusterd-pmap.c
parenta7ec009499f2c8f0c96aa03110ff4755eef8f1b8 (diff)
changelog: correct mmap() error checking
Upon failure, mmap() returns MAP_FAILED, which is not equal to NULL. This small correction makes sure that the potential error gets caught and handled. BUG: 1138621 Change-Id: I0a88b5187afa7187dcaa8f7d2cb0f9bb775c929d Reported-by: Santosh Pradhan <santosh.pradhan@gmail.com> Signed-off-by: Niels de Vos <ndevos@redhat.com> Reviewed-on: http://review.gluster.org/9130 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Venky Shankar <vshankar@redhat.com> Tested-by: Venky Shankar <vshankar@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-pmap.c')
0 files changed, 0 insertions, 0 deletions