kernel/hammer: Staticize hammer_skip_redo.
authorSascha Wildner <saw@online.de>
Sat, 6 Oct 2012 10:14:45 +0000 (12:14 +0200)
committerSascha Wildner <saw@online.de>
Sat, 6 Oct 2012 10:14:45 +0000 (12:14 +0200)
It's just used in hammer_recover.c.

sys/vfs/hammer/hammer.h
sys/vfs/hammer/hammer_recover.c

index 745d5f5..f837a07 100644 (file)
@@ -998,7 +998,6 @@ extern struct vop_ops hammer_spec_vops;
 extern struct vop_ops hammer_fifo_vops;
 extern struct bio_ops hammer_bioops;
 
-extern int hammer_skip_redo;
 extern int hammer_debug_io;
 extern int hammer_debug_general;
 extern int hammer_debug_debug;
index d7566ca..11ef406 100644 (file)
  * 2 - Completely skip redo recovery (only for severe error
  *     conditions and/or debugging.
  */
-int hammer_skip_redo = 0;
+static int hammer_skip_redo = 0;
 TUNABLE_INT("vfs.hammer.skip_redo", &hammer_skip_redo);
 
 /*