[-mm patch] make readahead_debug_level static

Adrian Bunk
2006-11-24T01:46:18Z

On Thu, Nov 23, 2006 at 02:17:03AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.19-rc5-mm2:
>...
> +readahead-kconfig-options-fix.patch
> +radixtree-introduce-scan-hole-data-functions.patch
> -readahead-delay-page-release-in-do_generic_mapping_read.patch
> -readahead-initial-method-expected-read-size.patch
> -readahead-seeking-reads-method.patch
> +readahead-call-scheme-ifdef-fix.patch
> +readahead-call-scheme-build-fix.patch
> +readahead-nfsd-case-fix.patch
> -readahead-debug-radix-tree-new-functions.patch
> -readahead-debug-traces-showing-accessed-file-names.patch
> -readahead-debug-traces-showing-read-patterns.patch
> -readahead-backward-prefetching-method-fix.patch
> -readahead-remove-the-size-limit-of-max_sectors_kb-on-read_ahead_kb.patch
> +readahead-remove-size-limit-of-max_sectors_kb-on-read_ahead_kb.patch
>
> Updated readahead patch series
>...

readahead_debug_level can now become static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.19-rc6-mm1/mm/readahead.c.old 2006-11-24 01:26:26.000000000 +0100
+++ linux-2.6.19-rc6-mm1/mm/readahead.c 2006-11-24 01:26:41.000000000 +0100
@@ -93,7 +93,7 @@
};

#ifdef CONFIG_DEBUG_READAHEAD
-u32 readahead_debug_level = 1;
+static u32 readahead_debug_level = 1;
static u32 disable_stateful_method;
static const char * const ra_class_name[];
static void ra_account(struct file_ra_state *ra, enum ra_event e, int pages);