Commit 39887b10 authored by Phoebe Buckheister's avatar Phoebe Buckheister

client: fix readdir in rhel 7.5

backports backported changes to the readdir interface, but reverted
part of it. other parts were left behind and used in special
circumstances, ie when the user has previously indicated that the new
interface is available.

we used the new interface (ever since 3.11 introduced it), but did not
indicate that we support it (because that's a redhat thing).
parent 2e32a79f
......@@ -341,6 +341,10 @@ int FhgfsOps_opendirIncremental(struct inode* inode, struct file* file)
__FhgfsOps_setDirInfo(dirInfo, file);
}
#ifdef FMODE_KABI_ITERATE
file->f_mode |= FMODE_KABI_ITERATE;
#endif
return retVal;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment