public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* compile errors on fs/jffs/inode-v23.c
@ 2002-01-31 10:13 Thomas Gleixner
  2002-01-31 11:28 ` Clive Davies
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Gleixner @ 2002-01-31 10:13 UTC (permalink / raw)
  To: linux-mtd

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: gleixner@autronix.de, http://www.autronix.de  

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: compile errors on fs/jffs/inode-v23.c
  2002-01-31 10:13 compile errors on fs/jffs/inode-v23.c Thomas Gleixner
@ 2002-01-31 11:28 ` Clive Davies
  0 siblings, 0 replies; 2+ messages in thread
From: Clive Davies @ 2002-01-31 11:28 UTC (permalink / raw)
  To: gleixner, linux-mtd

> 	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;

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-01-31 11:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-31 10:13 compile errors on fs/jffs/inode-v23.c Thomas Gleixner
2002-01-31 11:28 ` Clive Davies

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox