smackfs: remove redundant lock, fix open(,O_RDWR)