summaryrefslogtreecommitdiff
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2019-04-22 17:33:52 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2019-05-08 22:00:09 -0700
commitad199c5f600f35d7ab757fdf425d2a8b2bef2dc3 (patch)
tree98f0a4d6ae86b1dd61244436f6cef3398caeeb88 /security/selinux/hooks.c
parenta3df88564441a4bfb0e0284c3de50606a23a1b83 (diff)
f2fs: allow unfixed f2fs_checkpoint.checksum_offset
Previously, f2fs_checkpoint.checksum_offset points fixed position of f2fs_checkpoint structure: "#define CP_CHKSUM_OFFSET 4092" It is unnecessary, and it breaks the consecutiveness of nat and sit bitmap stored across checkpoint park block and payload blocks. This patch allows f2fs to handle unfixed .checksum_offset. In addition, for the case checksum value is stored in the middle of checkpoint park, calculating checksum value with superposition method like we did for inode_checksum. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions