[PATCH 2/9] generic/294, afs: Allow for mknod subtest failing if mknod not supported

David Howells dhowells at redhat.com
Tue Jun 1 07:31:52 PDT 2021


Eryu Guan <guan at eryu.me> wrote:

> _require_mknod checks for mknod support by trying to mknod and _notrun
> the test if mknod fails.
> 
> So does afs return any failure like EOPNOTSUPP? If so I think we could
> refactor _require_mknod into something like

afs doesn't provide a ->mknod implementation as it doesn't support anything
you'd create with it, so you get the VFS default in such an instance - which
would be EPERM.

David




More information about the linux-afs mailing list