HomeFreeBSD

nfscl: add a filesize limit check to nfs_allocate()

Description

nfscl: add a filesize limit check to nfs_allocate()

As reported in PR#260343, nfs_allocate() did not check
the filesize rlimit. This patch adds that check.

PR: 260343
Reviewed by: asomers
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D33422

Details

Provenance
rmacklemAuthored on Dec 13 2021, 11:32 PM
Reviewer
asomers
Differential Revision
D33422: add a check for filesize rlimit to nfs_allocate
Parents
rGc302f889e21f: nfsd: Limit parsing of layout errors to maxcnt bytes
Branches
Unknown
Tags
Unknown