mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Fix compile error in fs/cramfs/inode.c in 2.5.66
@ 2003-03-27 13:19 Bernd Petrovitsch
  0 siblings, 0 replies; only message in thread
From: Bernd Petrovitsch @ 2003-03-27 13:19 UTC (permalink / raw)
  To: linux-kernel

cramfs does not compile without it.

	Bernd

--- fs/cramfs/inode.c-orig	Thu Mar 27 14:17:22 2003
+++ fs/cramfs/inode.c	Thu Mar 27 13:47:56 2003
@@ -51,7 +51,9 @@
 		inode->i_blocks = (cramfs_inode->size - 1) / 512 + 1;
 		inode->i_blksize = PAGE_CACHE_SIZE;
 		inode->i_gid = cramfs_inode->gid;
-		inode->i_mtime = inode->i_atime = inode->i_ctime = 0;
+		inode->i_mtime.tv_sec = inode->i_mtime.tv_nsec = 
+			inode->i_atime.tv_sec = inode->i_atime.tv_nsec = 
+			inode->i_ctime.tv_sec = inode->i_ctime.tv_nsec = 0;
 		inode->i_ino = CRAMINO(cramfs_inode);
 		/* inode->i_nlink is left 1 - arguably wrong for directories,
 		   but it's the best we can do without reading the directory

-- 
Bernd Petrovitsch                              Email : bernd@gams.at
g.a.m.s gmbh                                  Fax : +43 1 205255-900
Prinz-Eugen-Straße 8                    A-1040 Vienna/Austria/Europe
                     LUGA : http://www.luga.at



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-03-27 13:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-27 13:19 Fix compile error in fs/cramfs/inode.c in 2.5.66 Bernd Petrovitsch

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

all inboxes | Powered by JetHome®