|
|
| version 1.31, 2004/04/21 04:47:28 | version 1.32, 2004/04/21 04:49:00 |
|---|---|
| Line 111 mount(struct mount_args *uap) | Line 111 mount(struct mount_args *uap) |
| lwkt_tokref vlock; | lwkt_tokref vlock; |
| lwkt_tokref ilock; | lwkt_tokref ilock; |
| KKASSERT(p); | |
| if (p->p_ucred->cr_prison != NULL) | if (p->p_ucred->cr_prison != NULL) |
| return (EPERM); | return (EPERM); |
| if (usermount == 0 && (error = suser(td))) | if (usermount == 0 && (error = suser(td))) |