summaryrefslogtreecommitdiffstats
path: root/fs/dnotify.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/dnotify.c')
-rw-r--r--fs/dnotify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/dnotify.c b/fs/dnotify.c
index f3b540d..f932591 100644
--- a/fs/dnotify.c
+++ b/fs/dnotify.c
@@ -21,9 +21,9 @@
#include <linux/spinlock.h>
#include <linux/slab.h>
-int dir_notify_enable = 1;
+int dir_notify_enable __read_mostly = 1;
-static kmem_cache_t *dn_cache;
+static kmem_cache_t *dn_cache __read_mostly;
static void redo_inode_mask(struct inode *inode)
{
OpenPOWER on IntegriCloud