[PATCH] 2.5.31 : fs/intermezzo/vfs.c

From: Frank Davis (fdavis@si.rr.com)
Date: Sun Aug 11 2002 - 21:44:23 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 15 2002 - 22:00:26 EST