lkml.org 
[lkml]   [2015]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] fs: ramfs: mark once as __initdata
Date
There's no reason to keep this around after init.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
---
fs/ramfs/inode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/ramfs/inode.c b/fs/ramfs/inode.c
index 889d558b4e05..74afa43cced5 100644
--- a/fs/ramfs/inode.c
+++ b/fs/ramfs/inode.c
@@ -257,7 +257,7 @@ static struct file_system_type ramfs_fs_type = {

int __init init_ramfs_fs(void)
{
- static unsigned long once;
+ static unsigned long once __initdata;

if (test_and_set_bit(0, &once))
return 0;
--
2.6.1


\
 
 \ /
  Last update: 2015-12-01 16:21    [W:0.028 / U:1.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site