freebsd-dev/sys/boot/usb/storage
Toomas Soome c9296b3227 loader: F_READ/F_WRITE should be checked against masked flag
The work to make it possible to avoid bcache via using F_NORA modifier did
miss the fact that not all loader platforms are using the bcache, and so
it is possible the modifier is not cleared, as bcache strategy function is
not used.

For fix, we make sure the checks are dont with masked flag.

This patch does fix boot for platforms which do not use bcache.

Reported by:	emaste
Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D10422
2017-04-18 18:07:54 +00:00
..
umass_common.c Do not zero memory in umass_detach 2015-11-27 18:16:10 +00:00
umass_common.h
umass_loader.c loader: F_READ/F_WRITE should be checked against masked flag 2017-04-18 18:07:54 +00:00