diff options
| -rw-r--r-- | include/linux/dcache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/dcache.h b/include/linux/dcache.h index 3092df3614ae..b90337c9d468 100644 --- a/include/linux/dcache.h +++ b/include/linux/dcache.h | |||
| @@ -324,7 +324,7 @@ static inline int __d_rcu_to_refcount(struct dentry *dentry, unsigned seq) | |||
| 324 | return ret; | 324 | return ret; |
| 325 | } | 325 | } |
| 326 | 326 | ||
| 327 | static inline unsigned d_count(struct dentry *dentry) | 327 | static inline unsigned d_count(const struct dentry *dentry) |
| 328 | { | 328 | { |
| 329 | return dentry->d_count; | 329 | return dentry->d_count; |
| 330 | } | 330 | } |
