]> git.itanic.dy.fi Git - linux-stable/commit
ext4: fix sparse warnings
authorTheodore Ts'o <tytso@mit.edu>
Sat, 14 Aug 2021 14:41:30 +0000 (10:41 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 31 Aug 2021 03:36:50 +0000 (23:36 -0400)
commita5fda11338180db13f3e9eec20c9deda1f7bad72
treef8124d2048cf6b350e4778757b414658c2487c67
parentbd2c38cf1726ea913024393a0d11f2e2a3f4c180
ext4: fix sparse warnings

Add sparse annotations to suppress false positive context imbalance
warnings, and use NULL instead of 0 in EXT_MAX_{EXTENT,INDEX}.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ext4_extents.h
fs/ext4/mballoc.c