Andriy Gapon defce67748 zfs ioctls: use fget_write / fget_read instead of getf wrapper for fget
This allows to ensure that we do not write to a file that was opened
for reading only or vice versa.

Also, use the correct capability in in zfs_ioc_send_new().

Differential Revision:	https://reviews.freebsd.org/D2382
Reviewed by:	delphij
MFC after:	17 days
Sponsored by:	ClusterHQ
2015-05-11 10:07:31 +00:00
..
2015-05-08 18:47:19 +00:00
2015-04-22 14:38:58 +00:00
2015-04-22 14:38:58 +00:00
2015-05-01 18:07:18 +00:00
2015-04-18 16:08:06 +00:00
2015-04-16 22:34:10 +00:00
2015-04-30 03:15:07 +00:00
2015-03-16 00:10:03 +00:00