SYNOPSIS

unsigned int disk_clear_events(struct gendisk * disk, unsigned int mask);

ARGUMENTS

disk

disk to fetch and clear events from

mask

mask of events to be fetched and clearted

DESCRIPTION

Disk events are synchronously checked and pending events in mask are cleared and returned. This ignores the block count.

CONTEXT

Might sleep.

COPYRIGHT