As reported in PR#260343, nfs_allocate() did not check
the filesize rlimit. This patch adds that check.
Details
Details
- Reviewers
asomers - Commits
- rGfe04c91184e9: nfscl: add a filesize limit check to nfs_allocate()
Tested against a NFSv4.2 server exporting a UFS file
system with Allocate enabled.
Doing posix_fallocate() was tested when both the
limit would not be exceeded and the filesize limit
would be exceeded.
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable