patch-1.3.28 linux/fs/sysv/ialloc.c

Next file: linux/fs/sysv/inode.c
Previous file: linux/fs/sysv/dir.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.27/linux/fs/sysv/ialloc.c linux/fs/sysv/ialloc.c
@@ -84,7 +84,8 @@
 		return;
 	}
 	if (!(bh = sv_bread(sb, inode->i_dev, sb->sv_firstinodezone + ((ino-1) >> sb->sv_inodes_per_block_bits)))) {
-		printk("sysv_free_inode: unable to read inode block on device %d/%d\n",MAJOR(inode->i_dev),MINOR(inode->i_dev));
+		printk("sysv_free_inode: unable to read inode block on device "
+		       "%s\n", kdevname(inode->i_dev));
 		clear_inode(inode);
 		return;
 	}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this