Newer OpenAFS versions replace code = inode_change_ok(inode, &newattrs);
by code = setattr_prepare(file_dentry(afile->filp), &newattrs); The file_dentry() helper is not present in linux-headers-3.16.0-5 either, but code = setattr_prepare(afile->filp->f_path.dentry, &newattrs); at least seems to compile. Is this the correct replacement? Arne