2002-08-12 02:52:44

by Frank Davis

[permalink] [raw]
Subject: [PATCH] 2.5.31 : fs/intermezzo/vfs.c

Hello all,
This fixes an incorrect assignment within vfs.c . Please review.

Regards,
Frank

--- fs/intermezzo/vfs.c.old Sun Aug 11 22:40:16 2002
+++ fs/intermezzo/vfs.c Sun Aug 11 22:39:56 2002
@@ -131,7 +131,7 @@
{
int minor = presto_f2m(fset);
int errorval = upc_comms[minor].uc_errorval;
- kdev_t dev = fset->fset_mtpt->d_inode->i_dev;
+ kdev_t dev = fset->fset_mtpt->d_inode->i_rdev;

if (errorval && errorval == (long)value && !is_read_only(dev)) {
CDEBUG(D_SUPER, "setting device %s read only\n", kdevname(dev));