patch-2.3.43 linux/fs/minix/namei.c
Next file: linux/fs/minix/symlink.c
Previous file: linux/fs/minix/inode.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Thu Feb 10 12:16:59 2000
- Orig file:
v2.3.42/linux/fs/minix/namei.c
- Orig date:
Tue Dec 14 01:27:24 1999
diff -u --recursive --new-file v2.3.42/linux/fs/minix/namei.c linux/fs/minix/namei.c
@@ -219,6 +219,7 @@
if (!inode)
return -ENOSPC;
inode->i_op = &minix_file_inode_operations;
+ inode->i_mapping->a_ops = &minix_aops;
inode->i_mode = mode;
mark_inode_dirty(inode);
error = minix_add_entry(dir, dentry->d_name.name,
@@ -477,7 +478,8 @@
goto out;
inode->i_mode = S_IFLNK | 0777;
- inode->i_op = &minix_symlink_inode_operations;
+ inode->i_op = &page_symlink_inode_operations;
+ inode->i_mapping->a_ops = &minix_aops;
err = block_symlink(inode, symname, i);
if (err)
goto fail;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)