ez.c in 2.1.74

Russell Coker - mailing lists account (bofh@snoopy.virtual.net.au)
Sat, 20 Dec 97 12:55:21 +1000


Shouldn't the following function in ez.c pass inode->i_sb to the
invalidate_inodes() function?

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>
-----------------------------------------------------------