patch-2.2.15 linux/fs/umsdos/check.c
Next file: linux/fs/umsdos/dir.c
Previous file: linux/fs/umsdos/README-WIP.txt
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Fri Apr 21 12:46:45 2000
- Orig file:
v2.2.14/fs/umsdos/check.c
- Orig date:
Fri Dec 18 15:09:36 1998
diff -u --new-file --recursive --exclude-from ../../exclude v2.2.14/fs/umsdos/check.c linux/fs/umsdos/check.c
@@ -81,11 +81,11 @@
void check_inode (struct inode *inode)
{
if (inode) {
- printk (KERN_DEBUG "* inode is %lu (i_count=%d)",
- inode->i_ino, inode->i_count);
+ printk (KERN_DEBUG "* inode is %lu (i_count=%d, pos=%lu)",
+ inode->i_ino, inode->i_count, inode->u.umsdos_i.pos);
check_sb (inode->i_sb, 'i');
- if (inode->i_dentry.next) { /* FIXME: does this work ? */
+ if (!list_empty(&inode->i_dentry)) {
printk (" (has i_dentry)");
} else {
printk (" (NO i_dentry)");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)