X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=fs%2Fdirect-io.c;h=20533266ade6e5b097b023182d8b59f5d6e82e19;hb=4dc4af9ce32681fbd16aa0e757ccba341cc9d4ca;hp=7bc494ee56b9d7e61e6a658e6de5eb62bacabbdc;hpb=bdd1d82e7d02bd2764a68a5cc54533dfc2ba452a;p=linux-2.6-microblaze.git diff --git a/fs/direct-io.c b/fs/direct-io.c index 7bc494ee56b9..20533266ade6 100644 --- a/fs/direct-io.c +++ b/fs/direct-io.c @@ -151,7 +151,7 @@ struct dio { }; } ____cacheline_aligned_in_smp; -static struct kmem_cache *dio_cache __read_mostly; +static struct kmem_cache *dio_cache __ro_after_init; /* * How many pages are in the queue?