removed lock_acquire code after discussion with Eric Searcy of Linux Foundation
made SQL keywords all upper case for consistency
corrected comments in module