[Linux-cachefs] About compile option for i386 of cachefilesd
DAICON
daicon at daicoon.org
Thu Nov 8 07:46:08 UTC 2007
Hello.
> I'm surprised it's necessary. cachefilesd doesn't actually open any of the
> data files. On the other hand, it does stat them, and that may be the
> problem.
The cause is this.
cachefilesd.c
1096
1097 /* see if this object is already known to us */
1098 if (fstatat(dirfd(curr->dir), dirent.d_name, &st, 0) < 0) {
1099 if (errno == ENOENT)
1100 goto next;
1101 oserror("Failed to stat directory");
1102 }
--
<daicon at daicoon.org>
More information about the Linux-cachefs
mailing list