patch-2.4.21 linux-2.4.21/fs/jfs/jfs_inode.c

Next file: linux-2.4.21/fs/jfs/jfs_logmgr.c
Previous file: linux-2.4.21/fs/jfs/jfs_incore.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/fs/jfs/jfs_inode.c linux-2.4.21/fs/jfs/jfs_inode.c
@@ -40,7 +40,7 @@
 
 	inode = new_inode(sb);
 	if (!inode) {
-		jERROR(1, ("ialloc: new_inode returned NULL!\n"));
+		jfs_warn("ialloc: new_inode returned NULL!");
 		return inode;
 	}
 
@@ -54,7 +54,7 @@
 
 	rc = diAlloc(parent, S_ISDIR(mode), inode);
 	if (rc) {
-		jERROR(1, ("ialloc: diAlloc returned %d!\n", rc));
+		jfs_warn("ialloc: diAlloc returned %d!", rc);
 		free_jfs_inode(inode);
 		make_bad_inode(inode);
 		iput(inode);
@@ -96,7 +96,7 @@
 	jfs_inode->atltail = 0;
 	jfs_inode->xtlid = 0;
 
-	jFYI(1, ("ialloc returns inode = 0x%p\n", inode));
+	jfs_info("ialloc returns inode = 0x%p\n", inode);
 
 	return inode;
 }

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