linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Compile error with Paul's pmac-devel rsync tree
@ 2000-08-09 19:42 Michel Lanners
  2000-08-09 21:07 ` Martin Costabel
  0 siblings, 1 reply; 3+ messages in thread
From: Michel Lanners @ 2000-08-09 19:42 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: TEXT/plain, Size: 1058 bytes --]

Hi all,

Thought I let you all know so you don't have to search for yourself.
Patch is below...

- There is a problem in compiling ext2 fs support, in fs/ext2/dir.c.
  This looks like part of a patch submitted to linux-kernel sometime in
  June. I haven't checked whether this is wrong in kernel.org kernels as
  well...

- The same goes for mark_buffer_dirty_inode() in fs/ext2/truncate.c,
  which seems to come out of the same patch...

- arch/ppc/kernel/chrp_setup.c has a conditional in the wrong place. Can
  somebody correct this? Paul? It only appears as an error if sysrq key
  is not enabled, so that's probably why nobody noticed...

Now I'll check whether it actually works ;-)

Happy compiling!

Michel

-------------------------------------------------------------------------
Michel Lanners                 |  " Read Philosophy.  Study Art.
23, Rue Paul Henkes            |    Ask Questions.  Make Mistakes.
L-1710 Luxembourg              |
email   mlan@cpu.lu            |
http://www.cpu.lu/~mlan        |                     Learn Always. "


[-- Attachment #2: rsync.patch --]
[-- Type: TEXT/plain, Size: 1202 bytes --]

--- linux-2.4.paul/fs/ext2/dir.c	Mon Jun 12 02:10:39 2000
+++ linux/fs/ext2/dir.c	Wed Aug  9 20:21:23 2000
@@ -26,7 +26,7 @@
 	read:		generic_read_dir,
 	readdir:	ext2_readdir,
 	ioctl:		ext2_ioctl,
-	fsync:		ext2_fsync_file,
+	fsync:		ext2_sync_file,
 };

 int ext2_check_dir_entry (const char * function, struct inode * dir,
--- linux-2.4.paul/arch/ppc/kernel/chrp_setup.c	Tue Aug  8 08:07:45 2000
+++ linux/arch/ppc/kernel/chrp_setup.c	Wed Aug  9 20:40:04 2000
@@ -477,8 +477,8 @@
 #ifdef CONFIG_MAGIC_SYSRQ
 		ppc_md.ppc_kbd_sysrq_xlate	 = mackbd_sysrq_xlate;
 		SYSRQ_KEY = 0x69;
-	}
 #endif /* CONFIG_MAGIC_SYSRQ */
+	}
 #endif /* CONFIG_VT && CONFIG_ADB_KEYBOARD */
 }

--- linux-2.4.paul/fs/ext2/truncate.c	Mon Jun 12 02:10:39 2000
+++ linux/fs/ext2/truncate.c	Wed Aug  9 20:47:42 2000
@@ -211,7 +211,7 @@
 			inode->i_ino, tmp);
 		*p = 0;
 		if (dind_bh)
-			mark_buffer_dirty_inode(dind_bh, 1, inode);
+			mark_buffer_dirty(dind_bh, 1);
 		else
 			mark_inode_dirty(inode);
 		return 0;
@@ -279,7 +279,7 @@
 			inode->i_ino, tmp);
 		*p = 0;
 		if (tind_bh)
-			mark_buffer_dirty_inode(tind_bh, 1, inode);
+			mark_buffer_dirty(tind_bh, 1);
 		else
 			mark_inode_dirty(inode);
 		return 0;

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

end of thread, other threads:[~2000-08-10  5:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-09 19:42 Compile error with Paul's pmac-devel rsync tree Michel Lanners
2000-08-09 21:07 ` Martin Costabel
2000-08-10  5:55   ` Michel Lanners

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).