summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/dcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dcache.c b/fs/dcache.c
index bde3b6662601..8945e6cabd93 100644
--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -2507,7 +2507,7 @@ retry:
2507 } 2507 }
2508 2508
2509 hlist_bl_lock(b); 2509 hlist_bl_lock(b);
2510 if (unlikely(parent->d_inode->i_dir_seq != seq)) { 2510 if (unlikely(READ_ONCE(parent->d_inode->i_dir_seq) != seq)) {
2511 hlist_bl_unlock(b); 2511 hlist_bl_unlock(b);
2512 rcu_read_unlock(); 2512 rcu_read_unlock();
2513 goto retry; 2513 goto retry;