summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/src/glfs-fops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/glfs-fops.c b/api/src/glfs-fops.c
index 0031061620f..6f67e6c5b9e 100644
--- a/api/src/glfs-fops.c
+++ b/api/src/glfs-fops.c
@@ -2598,7 +2598,7 @@ glfd_entry_refresh (struct glfs_fd *glfd, int plus)
* to a race where a fop comes after inode link
* but before setting need_lookup flag.
*/
- list_for_each_entry (entry, &glfd->entries, list) {
+ list_for_each_entry (entry, &entries.list, list) {
if (entry->inode)
inode_set_need_lookup (entry->inode, THIS);
}