patch-2.3.43 linux/fs/ufs/namei.c
Next file: linux/fs/ufs/symlink.c
Previous file: linux/fs/ufs/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/ufs/namei.c
- Orig date:
Tue Jan 4 13:57:18 2000
diff -u --recursive --new-file v2.3.42/linux/fs/ufs/namei.c linux/fs/ufs/namei.c
@@ -424,6 +424,7 @@
if (!inode)
return err;
inode->i_op = &ufs_file_inode_operations;
+ inode->i_mapping->a_ops = &ufs_aops;
inode->i_mode = mode;
mark_inode_dirty(inode);
bh = ufs_add_entry (dir, dentry->d_name.name, dentry->d_name.len, &de, &err);
@@ -776,7 +777,8 @@
if (l > sb->u.ufs_sb.s_uspi->s_maxsymlinklen) {
/* slow symlink */
- inode->i_op = &ufs_symlink_inode_operations;
+ inode->i_op = &page_symlink_inode_operations;
+ inode->i_mapping->a_ops = &ufs_aops;
err = block_symlink(inode, symname, l);
if (err)
goto out_no_entry;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)