vfs_aio_fork: Drop "volatile" from the mmap area in aio_fork
authorVolker Lendecke <vl@samba.org>
Fri, 8 Dec 2017 13:30:46 +0000 (14:30 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 12 Dec 2017 19:37:08 +0000 (20:37 +0100)
We don't do that in tdb either, and the mmap/memcpy prototypes don't
have it either

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/modules/vfs_aio_fork.c

index 8e47531ebd1470a8d05f14ea9c5107ef40e954a9..4069d935d2471917fae339c6f3d3765e60b0c5a8 100644 (file)
@@ -47,7 +47,7 @@ struct aio_fork_config {
 
 struct mmap_area {
        size_t size;
-       volatile void *ptr;
+       void *ptr;
 };
 
 static int mmap_area_destructor(struct mmap_area *area)