Skip to contentSkip to conversation

fs: ramfs: mark once as __initdata

PATCH New Rasmus Villemoes 1 participant 1 message Dec 1, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fs: ramfs: mark once as __initdata

There's no reason to keep this around after init.

---
 fs/ramfs/inode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ramfs/inode.c +1 -1
index 889d558b4e05..74afa43cced5 100644
@@ -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;
Signature · 1 line
2.6.1