From: Miklos S. <mi...@sz...> - 2007-11-07 12:41:19
|
> Miklos Szeredi wrote: > >>> Anyway, here's the new patch. > >>> > >>> > I found problems accessing (executing) previously existing files, until > I did chmod on them (or setattr). > > I think I've fixed the problem with the attached patch. Does this make > sense? If the fi->attr_version is not initialized, then it could be > larger than fc->attr_version until a setattr is executed, and as a > result the inode attributes would never be set. Yes, thanks for spotting this! For some reason this bug didn't show up in my testing. I'll queue this up for inclusion into the kernel. Miklos |