summaryrefslogtreecommitdiffstats
path: root/Documentation/usb
diff options
context:
space:
mode:
authorStefan Behrens <sbehrens@giantdisaster.de>2014-10-16 17:48:48 +0200
committerChris Mason <clm@fb.com>2014-11-20 17:14:29 -0800
commitf382e4653f06f4e285b7800f80e6548e026f90a8 (patch)
treea532ba1238cbe0aed7922d5e281988eacf19a515 /Documentation/usb
parentc8fd3de79f44f5d41bc3a801214faf667b95df9d (diff)
downloadblackbird-op-linux-f382e4653f06f4e285b7800f80e6548e026f90a8.tar.gz
blackbird-op-linux-f382e4653f06f4e285b7800f80e6548e026f90a8.zip
Btrfs: check_int: use the known block location
The xfstest btrfs/014 which tests the balance operation caused issues with the check_int module. The attempt was made to use btrfs_map_block() to find the physical location for a written block. However, this was not at all needed since the location of the written block was known since a hook to submit_bio() was the reason for entering the check_int module. Additionally, after a block relocation it happened that btrfs_map_block() failed causing misleading error messages afterwards. This patch changes the check_int module to use the known information of the physical location from the bio. Reported-by: Wang Shilong <wangshilong1991@gmail.com> Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de> Tested-by: Wang Shilong <wangshilong1991@gmail.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'Documentation/usb')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud