mirror of
git://sourceware.org/git/lvm2.git
synced 2025-02-10 17:57:54 +03:00
Just for case ensure compiler is not able to optimize memset() away for resources that are released. This idea of using memory barrier is taken from openssl. Other options would be to check for 'explicit_bzero' function. (cherry picked from commit 55a8d6c86b4c6c6c707cfcc3dd887bca0632114f) Conflicts: device_mapper/ioctl/libdm-iface.c