description:	fix compile if DEBUG is enabled;
		change block to iblock (1 place); fix some printk formatting;
maintainer:	<none>
product_versions: Linux 2.6.0-test8
patch_name:	efs_debugon.patch
author:		Randy.Dunlap <rddunlap@osdl.org>
patch_version:	2003-10-22.16:58:08

diffstat:=
 fs/efs/file.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff -Naurp ./fs/efs/file.c~debug ./fs/efs/file.c
--- ./fs/efs/file.c~debug	2003-10-17 14:43:15.000000000 -0700
+++ ./fs/efs/file.c	2003-10-22 16:55:10.000000000 -0700
@@ -22,8 +22,8 @@ int efs_get_block(struct inode *inode, s
 		/*
 		 * i have no idea why this happens as often as it does
 		 */
-		printk(KERN_WARNING "EFS: bmap(): block %d >= %ld (filesize %ld)\n",
-			block,
+		printk(KERN_WARNING "EFS: bmap(): block %llu >= %ld (filesize %llu)\n",
+			(unsigned long long)iblock,
 			inode->i_blocks,
 			inode->i_size);
 #endif
@@ -48,8 +48,8 @@ int efs_bmap(struct inode *inode, efs_bl
 		/*
 		 * i have no idea why this happens as often as it does
 		 */
-		printk(KERN_WARNING "EFS: bmap(): block %d >= %ld (filesize %ld)\n",
-			block,
+		printk(KERN_WARNING "EFS: bmap(): block %ld >= %ld (filesize %llu)\n",
+			(long)block,
 			inode->i_blocks,
 			inode->i_size);
 #endif
