adding read/write locks to misc_char_dev