summaryrefslogtreecommitdiffstats
path: root/api/src/glfs-fops.c
diff options
context:
space:
mode:
Diffstat (limited to 'api/src/glfs-fops.c')
-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 c981297b0b9..25492ef2447 100644
--- a/api/src/glfs-fops.c
+++ b/api/src/glfs-fops.c
@@ -2505,7 +2505,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);
}