summaryrefslogtreecommitdiffstats
path: root/fs/romfs
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-04-28 01:09:25 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-04-28 01:09:25 +0000
commitb9ba7aeb165cffecdffb60aec8c3fa8d590d9ca9 (patch)
tree42d07b0c7246ae2536a702e7c5de9e2732341116 /fs/romfs
parent7406b0a326f2d70ade2671c37d1beef62249db97 (diff)
Merge with 2.3.99-pre6.
Diffstat (limited to 'fs/romfs')
-rw-r--r--fs/romfs/inode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/romfs/inode.c b/fs/romfs/inode.c
index 63d5a58ab..94a8f61aa 100644
--- a/fs/romfs/inode.c
+++ b/fs/romfs/inode.c
@@ -506,7 +506,8 @@ romfs_read_inode(struct inode *i)
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 */