[PATCH 3/5] fs/anon_inodes.c: Mark anon_inode_inode __read_mostly

From: Eric Biggers
Date: Sun Oct 12 2014 - 16:46:40 EST


At least, for consistency with anon_inode_mnt.

Signed-off-by: Eric Biggers <ebiggers3@xxxxxxxxx>
---
fs/anon_inodes.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/anon_inodes.c b/fs/anon_inodes.c
index 268153a..444a705 100644
--- a/fs/anon_inodes.c
+++ b/fs/anon_inodes.c
@@ -23,7 +23,7 @@
#include <asm/uaccess.h>

static struct vfsmount *anon_inode_mnt __read_mostly;
-static struct inode *anon_inode_inode;
+static struct inode *anon_inode_inode __read_mostly;

/*
* anon_inodefs_dname() is called from d_path().
--
2.1.2

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