diff options
Diffstat (limited to 'fs/nfsd/auth.c')
| -rw-r--r-- | fs/nfsd/auth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/auth.c b/fs/nfsd/auth.c index 72f44823adbb..9d46a0bdd9f9 100644 --- a/fs/nfsd/auth.c +++ b/fs/nfsd/auth.c | |||
| @@ -28,7 +28,7 @@ int nfsd_setuser(struct svc_rqst *rqstp, struct svc_export *exp) | |||
| 28 | validate_process_creds(); | 28 | validate_process_creds(); |
| 29 | 29 | ||
| 30 | /* discard any old override before preparing the new set */ | 30 | /* discard any old override before preparing the new set */ |
| 31 | revert_creds(get_cred(current->real_cred)); | 31 | revert_creds(get_cred(current_real_cred())); |
| 32 | new = prepare_creds(); | 32 | new = prepare_creds(); |
| 33 | if (!new) | 33 | if (!new) |
| 34 | return -ENOMEM; | 34 | return -ENOMEM; |
