patch-2.3.43 linux/fs/namei.c
Next file: linux/fs/ncpfs/dir.c
Previous file: linux/fs/msdos/namei.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Thu Feb 10 12:16:59 2000
- Orig file:
v2.3.42/linux/fs/namei.c
- Orig date:
Fri Jan 28 15:09:09 2000
diff -u --recursive --new-file v2.3.42/linux/fs/namei.c linux/fs/namei.c
@@ -1386,8 +1386,8 @@
static char *page_getlink(struct dentry * dentry, struct page **ppage)
{
struct page * page;
- page = read_cache_page(&dentry->d_inode->i_data, 0,
- (filler_t *)dentry->d_inode->i_op->readpage,
+ struct address_space *mapping = dentry->d_inode->i_mapping;
+ page = read_cache_page(mapping, 0, (filler_t *)mapping->a_ops->readpage,
dentry);
if (IS_ERR(page))
goto sync_fail;
@@ -1429,3 +1429,8 @@
}
return res;
}
+
+struct inode_operations page_symlink_inode_operations = {
+ readlink: page_readlink,
+ follow_link: page_follow_link,
+};
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)