added external decls for vfs_lock