[PATCH 4.9 013/117] fscrypto: move ioctl processing more fully into common code