patch-2.3.99-pre6 linux/fs/romfs/inode.c

Next file: linux/fs/select.c
Previous file: linux/fs/readdir.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre5/linux/fs/romfs/inode.c linux/fs/romfs/inode.c
@@ -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 */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)