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)
commit9a6633b1a3603ccdffec669033616f9ebb35a988
tree48f84c6ddaf415831eee8245033af51454859738
parentce37c42919608e96ade3748fe23c3062a0a966c5
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