diff options
Diffstat (limited to 'fs/autofs4/waitq.c')
-rw-r--r-- | fs/autofs4/waitq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/autofs4/waitq.c b/fs/autofs4/waitq.c index 1278335ce366..79fbd85db4ba 100644 --- a/fs/autofs4/waitq.c +++ b/fs/autofs4/waitq.c | |||
@@ -436,8 +436,8 @@ int autofs4_wait(struct autofs_sb_info *sbi, | |||
436 | memcpy(&wq->name, &qstr, sizeof(struct qstr)); | 436 | memcpy(&wq->name, &qstr, sizeof(struct qstr)); |
437 | wq->dev = autofs4_get_dev(sbi); | 437 | wq->dev = autofs4_get_dev(sbi); |
438 | wq->ino = autofs4_get_ino(sbi); | 438 | wq->ino = autofs4_get_ino(sbi); |
439 | wq->uid = current_real_cred()->uid; | 439 | wq->uid = current_cred()->uid; |
440 | wq->gid = current_real_cred()->gid; | 440 | wq->gid = current_cred()->gid; |
441 | wq->pid = pid; | 441 | wq->pid = pid; |
442 | wq->tgid = tgid; | 442 | wq->tgid = tgid; |
443 | wq->status = -EINTR; /* Status return if interrupted */ | 443 | wq->status = -EINTR; /* Status return if interrupted */ |