aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorGou Hao <[email protected]>2023-11-13 08:26:17 +0000
committerTheodore Ts'o <[email protected]>2024-01-05 04:35:55 +0000
commit2bf5eb2a7c22fc3dd011fda2722fd369b1c4608b (patch)
treea55b7d0c6f2e164443080ce8022e072d1d842030 /security/selinux/hooks.c
parentext4: clarify handling of unwritten bh in __ext4_block_zero_page_range() (diff)
downloadkernel-2bf5eb2a7c22fc3dd011fda2722fd369b1c4608b.tar.gz
kernel-2bf5eb2a7c22fc3dd011fda2722fd369b1c4608b.zip
ext4: improving calculation of 'fe_{len|start}' in mb_find_extent()
After first execution of mb_find_order_for_block(): 'fe_start' is the value of 'block' passed in mb_find_extent(). 'fe_len' is the difference between the length of order-chunk and remainder of the block divided by order-chunk. And 'next' does not require initialization after above modifications. Signed-off-by: Gou Hao <[email protected]> Reviewed-by: Jan Kara <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions