----- Original Message -----
From: Pete Zaitcev <zaitcev@yahoo.com>
To: <linux-kernel@vger.rutgers.edu>
Sent: Tuesday, May 02, 2000 8:44 PM
Subject: Free Hot Sex Patch against fs/romfs/inode.c
> --- 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:
Almost, but that's not quite it I don't think. Here is the patch I
submitted a couple weeks ago that fixes romfs symlinks and avoids leaving
them with an identity crisis:
--- 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 */
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 May 07 2000 - 21:00:11 EST