[added to the 4.1 stable tree] staging: android: ashmem: fix a race condition in ASHMEM_SET_SIZE ioctl