add ASSERTs to avoid warnings about warn_unused_result in newer libc
add ASSERTs to avoid warnings about warn_unused_result in newer libc

kernelim/with-overlayfs,kernelim/with-overlayfs,kernelim/with-overlayfs