summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/dcache.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/dcache.c b/fs/dcache.c
index 9e6e6db7686..2a4ce7dc230 100644
--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -1793,6 +1793,9 @@ seqretry:
tlen = dentry->d_name.len;
tname = dentry->d_name.name;
i = dentry->d_inode;
+ prefetch(tname);
+ if (i)
+ prefetch(i);
/*
* This seqcount check is required to ensure name and
* len are loaded atomically, so as not to walk off the