OS-1811 zfs_write()/zfs_putpage() deadlock
Reviewed by: Keith Wesolowski <keith.wesolowski@joyent.com>