| 453 | } |
| 454 | |
| 455 | static __inline int |
| 456 | fo_get_seals(struct file *fp, int *seals) |
| 457 | { |
| 458 | |
| 459 | if (fp->f_ops->fo_get_seals == NULL) |
| 460 | return (EINVAL); |
| 461 | return ((*fp->f_ops->fo_get_seals)(fp, seals)); |
| 462 | } |
| 463 | |
| 464 | static __inline int |
| 465 | fo_fallocate(struct file *fp, off_t offset, off_t len, struct thread *td) |