started rewriting of vfs locking