Grabbed another chunk of code out of user_ops.c, purge_user()