X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fdnotify.c;h=f932591df5a43d00af7b2a6c72db3a1de1fdcb3b;hb=43bc926fffd92024b46cafaf7350d669ba9ca884;hp=f3b540dd5d11712b5aa7631084ce4f3303ec21b0;hpb=cee37fe97739d85991964371c1f3a745c00dd236;p=linux-2.6.git diff --git a/fs/dnotify.c b/fs/dnotify.c index f3b540dd5..f932591df 100644 --- a/fs/dnotify.c +++ b/fs/dnotify.c @@ -21,9 +21,9 @@ #include #include -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) {