[PATCH] 2.3.99-* fs/romfs/inode.c

From: Bradley D. LaRonde (brad@ltc.com)
Date: Sun Apr 16 2000 - 00:41:29 EST


Here is a fix by Mike Klar and I for romfs_read_inode and symlinks, which
just oopses in 2.3.99:

-----------------------------------------------------
diff -u -r1.1.1.4 inode.c
--- fs/romfs/inode.c 2000/04/12 03:53:38 1.1.1.4
+++ fs/romfs/inode.c 2000/04/16 05:05:43
@@ -506,7 +506,8 @@
    break;
   case 3:
    i->i_op = &page_symlink_inode_operations;
- i->i_mode = S_IRWXUGO;
+ i->i_data.a_ops = &romfs_aops;
+ i->i_mode = ino | S_IRWXUGO;
    break;
   default:
    /* depending on MBZ for sock/fifos */
-----------------------------------------------------

Also, we're seeing lots of "access beyond end of device" and "Error -3 while
decompressing!" when using cramfs. Any thoughts?

Regards,
Brad

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



This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:08 EST