3.
whose dog barks all night long
describes the man (not the dog).