]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: add ext4_es_store_pblock_status()
authorTheodore Ts'o <tytso@mit.edu>
Thu, 20 Feb 2014 01:15:15 +0000 (20:15 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 20 Feb 2014 01:15:15 +0000 (20:15 -0500)
commit892d24558a389bd7536cdfb29fbc08225141382f
tree48f84c6ddaf415831eee8245033af51454859738
parent0e98fbaefa29adf1942122eb6c7016a756498889
ext4: add ext4_es_store_pblock_status()

Avoid false positives by static code analysis tools such as sparse and
coverity caused by the fact that we set the physical block, and then
the status in the extent_status structure.  It is also more efficient
to set both of these values at once.

Addresses-Coverity-Id: #989077
Addresses-Coverity-Id: #989078
Addresses-Coverity-Id: #1080722

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Zheng Liu <wenqing.lz@taobao.com>
fs/ext4/extents_status.c
fs/ext4/extents_status.h