Patch to fs/romfs/inode.c, please look

From: Pete Zaitcev (zaitcev@metabyte.com)
Date: Mon May 01 2000 - 17:43:59 EST


Hello,

I am not sure if I am doing the right thing, I just stole the code
from ext2. But mithout it the kernel oopses when I attempt to execute
a pathname with a symlink component. Change is against 2.3.99.
Would someone please apprise and/or apply?

--Pete

--- linux-2.3.99-pre5/fs/romfs/inode.c Wed Mar 22 21:49:58 2000
+++ linux-2.3.99-zaitcev/fs/romfs/inode.c Mon May 1 15:44:26 2000
@@ -506,6 +506,7 @@
                         break;
                 case 3:
                         i->i_op = &page_symlink_inode_operations;
+ i->i_data.a_ops = &romfs_aops;
                         i->i_mode = S_IRWXUGO;
                         break;
                 default:

-
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 May 07 2000 - 21:00:09 EST