• Jeff Layton's avatar
    nfsd: add a usermodehelper upcall for NFSv4 client ID tracking · 2873d214
    Jeff Layton authored
    Add a new client tracker upcall type that uses call_usermodehelper to
    call out to a program. This seems to be the preferred method of
    calling out to usermode these days for seldom-called upcalls. It's
    simple and doesn't require a running daemon, so it should "just work"
    as long as the binary is installed.
    
    The client tracking exit operation is also changed to check for a
    NULL pointer before running. The UMH upcall doesn't need to do anything
    at module teardown time.
    Signed-off-by: default avatarJeff Layton <jlayton@redhat.com>
    Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
    2873d214
nfs4recover.c 26.3 KB