summaryrefslogtreecommitdiffstats
path: root/fs/overlayfs
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2016-01-04 15:55:10 +1100
committerDave Chinner <david@fromorbit.com>2016-01-04 15:55:10 +1100
commitb94fb2d1780d7cd9d55b21e2bb879a54ed3074cc (patch)
tree8162021646eed5f8c4393671628f0659da0730ff /fs/overlayfs
parent9d94901f6e17c4c75d9aeb9efd4213a736c2ef9c (diff)
downloadtalos-op-linux-b94fb2d1780d7cd9d55b21e2bb879a54ed3074cc.tar.gz
talos-op-linux-b94fb2d1780d7cd9d55b21e2bb879a54ed3074cc.zip
xfs: refactor and open code log record crc check
Log record CRC verification currently occurs during active log recovery, immediately before a log record is unpacked. Therefore, the CRC calculation code is buried within the data unpack function. CRC verification pass support only needs to go so far as check the CRC, but this is not easily allowed as the code is currently organized. Since we now have a new log record processing helper, pull the record CRC verification code out from the unpack helper and open-code it at the top of the new process helper. This facilitates the ability to modify how records are processed based on the type of the current pass. This patch contains no functional changes. Signed-off-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/overlayfs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud