OpenAFS and Arla has a new ioctl based interface that replaces the old syscall. Since the syscall is gone, minikafs won't work with new kernels and AFS clients. Attached is a patch that adds support for the new interface in minikafs.
Created attachment 101750 [details] Patch to add procfs ioctl based AFS interface support.
Ok, so we don't love ioctls, but it's what we've got at the moment. Also, until either the kernel implements the AFS syscall, minikafs starts using the AFS ioctl or something else is done, minikafs won't work at all.
I really haven't got a problem with ioctls. The patch doesn't need to strdup() the path which was opened, though, the global could as easily be a const pointer to the literal. Otherwise, looks good. Merging into 2.1.2. Thanks!