patch-2.1.43 linux/fs/ufs/ufs_inode.c

Next file: linux/fs/ufs/ufs_super.c
Previous file: linux/fs/ufs/ufs_file.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.42/linux/fs/ufs/ufs_inode.c linux/fs/ufs/ufs_inode.c
@@ -6,7 +6,7 @@
  * Laboratory for Computer Science Research Computing Facility
  * Rutgers, The State University of New Jersey
  *
- * $Id: ufs_inode.c,v 1.7 1996/06/01 14:56:46 ecd Exp $
+ * $Id: ufs_inode.c,v 1.8 1997/06/04 08:28:28 davem Exp $
  *
  */
 
@@ -18,8 +18,9 @@
 {
 	printk("ino %lu  mode 0%6.6o  lk %d  uid %d  gid %d"
 	       "  sz %lu  blks %lu  cnt %u\n",
-		inode->i_ino, inode->i_mode, inode->i_nlink, inode->i_uid,
-		inode->i_gid, inode->i_size, inode->i_blocks, inode->i_count);
+	       inode->i_ino, inode->i_mode, inode->i_nlink, inode->i_uid,
+	       inode->i_gid, inode->i_size, inode->i_blocks,
+	       atomic_read(&inode->i_count));
 	printk("  db <0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x"
 	       " 0x%x 0x%x 0x%x 0x%x>\n",
 		inode->u.ufs_i.i_data[0], inode->u.ufs_i.i_data[1],

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov