Permalink
Browse files

kernel/hammer: Staticize hammer_skip_redo.

It's just used in hammer_recover.c.
  • Loading branch information...
1 parent 5c00e79 commit 172fb573eaa4c3267ce87fe89aa303043f1fb906 Sascha Wildner committed Oct 6, 2012
Showing with 1 addition and 2 deletions.
  1. +0 −1 sys/vfs/hammer/hammer.h
  2. +1 −1 sys/vfs/hammer/hammer_recover.c
View
@@ -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;
@@ -127,7 +127,7 @@
* 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);
/*

0 comments on commit 172fb57

Please sign in to comment.