mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] 2.4-ac fs/isofs/rock.c cleanup
@ 2001-08-13 10:31 Mikael Pettersson
  0 siblings, 0 replies; only message in thread
From: Mikael Pettersson @ 2001-08-13 10:31 UTC (permalink / raw)
  To: alan; +Cc: linux-kernel

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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-08-13 10:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-13 10:31 [PATCH] 2.4-ac fs/isofs/rock.c cleanup Mikael Pettersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®