aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorJosef Bacik <[email protected]>2021-05-19 11:26:25 -0400
committerDavid Sterba <[email protected]>2021-05-27 23:31:13 +0200
commitf96d44743a44e3332f75d23d2075bb8270900e1d (patch)
tree47b7b72f50c223f6b34da8ca0ed85a50e3aa3a58 /scripts/gdb/linux
parent011b28acf940eb61c000059dd9e2cfcbf52ed96b (diff)
btrfs: check error value from btrfs_update_inode in tree log
Error injection testing uncovered a case where we ended up with invalid link counts on an inode. This happened because we failed to notice an error when updating the inode while replaying the tree log, and committed the transaction with an invalid file system. Fix this by checking the return value of btrfs_update_inode. This resolved the link count errors I was seeing, and we already properly handle passing up the error values in these paths. CC: [email protected] # 4.4+ Reviewed-by: Johannes Thumshirn <[email protected]> Reviewed-by: Qu Wenruo <[email protected]> Signed-off-by: Josef Bacik <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions