lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1448981989-19546-1-git-send-email-linux@rasmusvillemoes.dk>
Date:	Tue,  1 Dec 2015 15:59:48 +0100
From:	Rasmus Villemoes <linux@...musvillemoes.dk>
To:	Jens Axboe <axboe@...com>, Tejun Heo <tj@...nel.org>
Cc:	Rasmus Villemoes <linux@...musvillemoes.dk>,
	linux-kernel@...r.kernel.org
Subject: [PATCH] fs: ramfs: mark once as __initdata

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

Signed-off-by: Rasmus Villemoes <linux@...musvillemoes.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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ