compile errors on fs/jffs/inode-v23.c

Clive Davies cdavies at altera.com
Thu Jan 31 06:28:10 EST 2002


> 	inode->i_rdev.value = 0;
>
 I think this is my fault. Try this patch...

--- mtd_orig/fs/jffs/inode-v23        Thu Jan 31 11:24:54 2002
+++ mtd/fs/jffs/inode-v23.c     Thu Jan 31 11:22:19 2002
@@ -364,7 +364,7 @@ jffs_new_inode(const struct inode * dir,
        inode->i_nlink = raw_inode->nlink;
        inode->i_uid = raw_inode->uid;
        inode->i_gid = raw_inode->gid;
-       inode->i_rdev.value = 0;
+       inode->i_rdev = NODEV;
        inode->i_size = raw_inode->dsize;
        inode->i_atime = raw_inode->atime;
        inode->i_mtime = raw_inode->mtime;




More information about the linux-mtd mailing list