Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756581AbbLAPAK (ORCPT ); Tue, 1 Dec 2015 10:00:10 -0500 Received: from mail-lf0-f43.google.com ([209.85.215.43]:35653 "EHLO mail-lf0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755642AbbLAPAI (ORCPT ); Tue, 1 Dec 2015 10:00:08 -0500 From: Rasmus Villemoes To: Jens Axboe , Tejun Heo Cc: Rasmus Villemoes , linux-kernel@vger.kernel.org Subject: [PATCH] fs: ramfs: mark once as __initdata Date: Tue, 1 Dec 2015 15:59:48 +0100 Message-Id: <1448981989-19546-1-git-send-email-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.6.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There's no reason to keep this around after init. Signed-off-by: Rasmus Villemoes --- 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