compile errors on fs/jffs/inode-v23.c
Is there a real reason for the change in inode-v23.c at line 367
inode->i_rdev.value = 0;
As far as I can see is inode->i_rdev neither a structure nor a union. I'm working on kernel 2.4.17. Is this a change for 2.5 ?
Thomas
__________________________________________________
Thomas Gleixner, autronix automation GmbH auf dem berg 3, d-88690 uhldingen-muehlhofen
fon: +49 7556 919891 , fax: +49 7556 919886
mail: [email protected], http://www.autronix.de
Quoted 2 lines
inode->i_rdev.value = 0;
I think this is my fault. Try this patch...
fs/jffs/inode-v23.c Thu Jan 31 11:22:19 2002 renamed from fs/jffs/inode-v23 Thu Jan 31 11:24:54 2002 +1 -1
@@ -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;