Does the code even work the way it currently is (I don't have access to a
Syquest drive to test)?
static int ez_release (struct inode *inode, struct file *file)
{ kdev_t devp;
devp = inode->i_rdev;
if (DEVICE_NR(devp) == 0) {
fsync_dev(devp);
invalidate_inodes(devp);
invalidate_buffers(devp);
ez_access--;
if (!ez_access) ez_doorlock(IDE_DOORUNLOCK);
MOD_DEC_USE_COUNT;
}
return 0;
}
-- ----------------------------------------------------------- In return for "mailbag contention" errors from buggy Exchange servers I'll set my mail server to refuse mail from your domain. The same response applies when a message to a postmaster account bounces. "Russell Coker - mailing lists account" <bofh@snoopy.virtual.net.au> -----------------------------------------------------------