In his column on ethics for the New York Times, Randy Cohen answers this question:
"After I was scheduled for a job interview at a university, a member of the search committee Googled me and found my blog, where I refer to him (but not by name) as a belligerent jerk. He canceled the interview. It was impolitic to write what I did, but my believing him to be a jerk does not mean I would not be great at that job, and the rest of the committee might agree. Was it ethical of him to cancel the interview?
You'll have to read Cohen's column to see what he thinks. You can go the article in The Times, which will require you to register -- or you can Google it.