/* Here comes the high level stuff (i.e. the filesystem interface) and helper functions. Normally this should be the only part that has to be adapted to different kernel versions.  */
static void flush_track_callback(unsigned long nr)
/* Here comes the high level stuff (i.e. the filesystem interface) and helper functions. Normally this should be the only part that has to be adapted to different kernel versions.  */
static void flush_track_callback(unsigned long nr)
{
	nr&=3;
	writefromint = 1;
	if (!try_fdc(nr)) {
		flush_track_timer[nr].expires = jiffies + 1;
		add_timer(flush_track_timer + nr);
		return;
	}
	get_fdc(nr);
	(*unit[nr].dtype->write_fkt)(nr);
	if (!raw_write(nr)) {
		printk (KERN_NOTICE "floppy disk write protected\n");
		writefromint = 0;
		writepending = 0;
	}
	rel_fdc();
}