]> 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)
commit05db05b548975bee3a067630eeebe8f973b7040d
tree48f84c6ddaf415831eee8245033af51454859738
parent0a6407fece9babde90578aeed8359883c8e4567c
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