mtd/fs/jffs2 symlink-v24.c,1.16,1.17

Artem Bityuckiy dedekind at infradead.org
Fri Mar 4 08:12:28 EST 2005


Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv10716

Modified Files:
	symlink-v24.c 
Log Message:
Fix bug. Now it is compilable.


Index: symlink-v24.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/symlink-v24.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- symlink-v24.c	4 Mar 2005 10:43:19 -0000	1.16
+++ symlink-v24.c	4 Mar 2005 13:12:25 -0000	1.17
@@ -29,6 +29,8 @@
 
 int jffs2_readlink(struct dentry *dentry, char *buffer, int buflen)
 {
+	struct jffs2_inode_info *f = JFFS2_INODE_INFO(dentry->d_inode);
+
 	if (!f->dents) {
 		printk(KERN_ERR "jffs2_readlink(): can't find symlink taerget\n");
 		return -EIO;
@@ -39,6 +41,8 @@
 
 int jffs2_follow_link(struct dentry *dentry, struct nameidata *nd)
 {
+	struct jffs2_inode_info *f = JFFS2_INODE_INFO(dentry->d_inode);
+
 	if (!f->dents) {
 		printk(KERN_ERR "jffs2_follow_link(): can't find symlink taerget\n");
 		return -EIO;





More information about the linux-mtd-cvs mailing list