diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/lru_cache.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/lru_cache.h b/include/linux/lru_cache.h index 7a71ffad037c..4cceafb0732d 100644 --- a/include/linux/lru_cache.h +++ b/include/linux/lru_cache.h | |||
@@ -275,8 +275,7 @@ static inline int lc_try_lock(struct lru_cache *lc) | |||
275 | */ | 275 | */ |
276 | static inline void lc_unlock(struct lru_cache *lc) | 276 | static inline void lc_unlock(struct lru_cache *lc) |
277 | { | 277 | { |
278 | clear_bit(__LC_DIRTY, &lc->flags); | 278 | clear_bit_unlock(__LC_DIRTY, &lc->flags); |
279 | smp_mb__after_clear_bit(); | ||
280 | } | 279 | } |
281 | 280 | ||
282 | static inline int lc_is_used(struct lru_cache *lc, unsigned int enr) | 281 | static inline int lc_is_used(struct lru_cache *lc, unsigned int enr) |