summaryrefslogtreecommitdiff
path: root/fs/crypto/fscrypt_private.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2022-05-17 15:35:31 -0700
committerDarrick J. Wong <djwong@kernel.org>2022-05-23 17:55:56 -0700
commitb5992408b90bbfab9544db5cf76646b5772ecf06 (patch)
tree1786e8cb219e56ad88c4278a8e86df13c1b724b4 /fs/crypto/fscrypt_private.h
parentae5e4b656197ba95f564485aa0c21f91f8b062cb (diff)
xfs: validate xattr name earlier in recovery
When we're validating a recovered xattr log item during log recovery, we should check the name before starting to allocate resources. This isn't strictly necessary on its own, but it means that we won't bother with huge memory allocations during recovery if the attr name is garbage, which will simplify the changes in the next patch. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
Diffstat (limited to 'fs/crypto/fscrypt_private.h')
0 files changed, 0 insertions, 0 deletions