patch-2.4.21 linux-2.4.21/fs/jfs/jfs_btree.h

Next file: linux-2.4.21/fs/jfs/jfs_debug.c
Previous file: linux-2.4.21/fs/jfs/inode.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/fs/jfs/jfs_btree.h linux-2.4.21/fs/jfs/jfs_btree.h
@@ -71,19 +71,16 @@
 		MP = (struct metapage *)&JFS_IP(IP)->bxflag;\
 		P = (TYPE *)&JFS_IP(IP)->ROOT;\
 		RC = 0;\
-		jEVENT(0,("%d BT_GETPAGE returning root\n", __LINE__));\
 	}\
 	else\
 	{\
-		jEVENT(0,("%d BT_GETPAGE reading block %d\n", __LINE__,\
-			 (int)BN));\
 		MP = read_metapage((IP), BN, SIZE, 1);\
 		if (MP) {\
 			RC = 0;\
 			P = (MP)->data;\
 		} else {\
 			P = NULL;\
-			jERROR(1,("bread failed!\n"));\
+			jfs_err("bread failed!");\
 			RC = EIO;\
 		}\
 	}\

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)