[PATCH] 2.4-ac fs/isofs/rock.c cleanup

Mikael Pettersson (mikpe@csd.uu.se)
Mon, 13 Aug 2001 12:31:23 +0200 (MET DST)


Alan,

The -ac version of fs/isofs/rock.c contains a debugging printk
which, alas, triggers far too often for some otherwise sane CDs.
This spams the kernel log without delivering any useful information.
The patch below kills the offending printk. Please apply.

(I was browsing the Windows install CD for my new HP CD-Writer
under 2.4.8-ac1. The kernel log filled up with hundreds of

scanning for RockRidge behind XA attributes

lines. There was approximately one such line for each directory entry.)

/Mikael

--- linux-2.4.8-ac2/fs/isofs/rock.c.~1~ Mon Aug 13 11:33:52 2001
+++ linux-2.4.8-ac2/fs/isofs/rock.c Mon Aug 13 11:58:23 2001
@@ -454,7 +454,6 @@
if ((inode->i_sb->u.isofs_sb.s_rock_offset==-1)
&&(inode->i_sb->u.isofs_sb.s_rock==2))
{
- printk(KERN_DEBUG"scanning for RockRidge behind XA attributes\n");
result=parse_rock_ridge_inode_internal(de,inode,14);
};
return result;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/