diff --git a/[refs] b/[refs] index 66bccaed558e..7a37deb5506a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 09114eb8c53d2d3b2ff9523e011cb68b2e245dce +refs/heads/master: 47ba87e0b1269698801310bfd1716b0538282405 diff --git a/trunk/fs/dcache.c b/trunk/fs/dcache.c index 86bdb93789c6..a173bba32666 100644 --- a/trunk/fs/dcache.c +++ b/trunk/fs/dcache.c @@ -743,7 +743,9 @@ struct dentry *d_alloc(struct dentry * parent, const struct qstr *name) dentry->d_op = NULL; dentry->d_fsdata = NULL; dentry->d_mounted = 0; +#ifdef CONFIG_PROFILING dentry->d_cookie = NULL; +#endif INIT_HLIST_NODE(&dentry->d_hash); INIT_LIST_HEAD(&dentry->d_lru); INIT_LIST_HEAD(&dentry->d_subdirs); diff --git a/trunk/include/linux/dcache.h b/trunk/include/linux/dcache.h index a3ed5e059d47..a3f09947940e 100644 --- a/trunk/include/linux/dcache.h +++ b/trunk/include/linux/dcache.h @@ -108,7 +108,9 @@ struct dentry { struct dentry_operations *d_op; struct super_block *d_sb; /* The root of the dentry tree */ void *d_fsdata; /* fs-specific data */ +#ifdef CONFIG_PROFILING struct dcookie_struct *d_cookie; /* cookie, if any */ +#endif int d_mounted; unsigned char d_iname[DNAME_INLINE_LEN_MIN]; /* small names */ };