nfsd4: only require krb5 principal for NFSv4.0 callbacks
authorJ. Bruce Fields <bfields@redhat.com>
Wed, 20 Oct 2010 03:00:12 +0000 (23:00 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 21 Oct 2010 14:12:14 +0000 (10:12 -0400)
commit5d18c1c2a9a74e0f966c257520b8b7f5136c87b3
tree0529ee5b46a8049eb0af7dbf4c056a7de2369fe8
parent8323c3b2a6b6543919d5ebdddc7d52f192126161
nfsd4: only require krb5 principal for NFSv4.0 callbacks

In the sessions backchannel case, we don't need a krb5 principal name
for the client; we use the already-created forechannel credentials
instead.

Some cleanup, while we're there: make it clearer which code here is 4.0-
or sessions- specific.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4callback.c