ARGSUSED */
| 1568 | #endif |
| 1569 | /* ARGSUSED */ |
| 1570 | int |
| 1571 | freebsd11_nfstat(struct thread *td, struct freebsd11_nfstat_args *uap) |
| 1572 | { |
| 1573 | struct nstat nub; |
| 1574 | struct stat ub; |
| 1575 | int error; |
| 1576 | |
| 1577 | error = kern_fstat(td, uap->fd, &ub); |
| 1578 | if (error == 0) { |
| 1579 | freebsd11_cvtnstat(&ub, &nub); |
| 1580 | error = copyout(&nub, uap->sb, sizeof(nub)); |
| 1581 | } |
| 1582 | return (error); |
| 1583 | } |
| 1584 | #endif /* COMPAT_FREEBSD11 */ |
| 1585 | |
| 1586 | /* |
nothing calls this directly
no test coverage detected