freebsd-dev/sys/cddl/contrib
Martin Matuska d32cac295c Fix panic in zfs_read() if IO_SYNC flag supplied by checking for
zfsvfs->z_log before calling zil_commit(). [1]
Do not call zfs_read() from zfs_getextattr() with the IO_SYNC flag.

Submitted by:	Alexander Zagrebin <alex@zagrebin.ru> [1]
Reviewed by:	pjd@
Approved by:	re (kib)
MFC after:	3 days
2011-08-02 11:28:33 +00:00
..
opensolaris Fix panic in zfs_read() if IO_SYNC flag supplied by checking for 2011-08-02 11:28:33 +00:00