Konstantin Belousov b3d4ab6645 Take the vm object lock in read mode in vnode_generic_putpages().
Only upgrade it to write mode if we need to clear dirty bits of the
partially valid page after EOF.

Suggested and reviewed by:	alc
Sponsored by:	The FreeBSD Foundation
MFC after:	3 weeks
2017-10-20 18:40:29 +00:00
..
2017-10-19 21:34:53 +00:00
2017-07-09 13:53:32 +00:00
2017-10-18 17:23:16 +00:00