1. NAME▲

disk_clear_events - synchronously check, clear and return pending events

2. SYNOPSIS ▲

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

3. ARGUMENTS ▲

disk
    disk to fetch and clear events from

mask
    mask of events to be fetched and clearted

4. DESCRIPTION ▲

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

5. CONTEXT ▲

Might sleep.

6. COPYRIGHT ▲