mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 17:11:46 +00:00
Btrfs: check the return value of btrfs_run_ordered_operations()
We forget to check the return value of btrfs_run_ordered_operations() when flushing all the pending stuffs, fix it. Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com>
This commit is contained in:
parent
3edb2a68cb
commit
eebc608406
1 changed files with 2 additions and 2 deletions
|
@ -1451,9 +1451,9 @@ static int btrfs_flush_all_pending_stuffs(struct btrfs_trans_handle *trans,
|
||||||
* it here and no for sure that nothing new will be added
|
* it here and no for sure that nothing new will be added
|
||||||
* to the list
|
* to the list
|
||||||
*/
|
*/
|
||||||
btrfs_run_ordered_operations(root, 1);
|
ret = btrfs_run_ordered_operations(root, 1);
|
||||||
|
|
||||||
return 0;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue