Files
android_kernel_xiaomi_sm8450/fs/btrfs
Liu Bo 49e83f5735 Btrfs: protect conditions within root->log_mutex while waiting
Both wait_for_commit() and wait_for_writer() are checking the
condition out of the mutex lock.

This refactors code a bit to be lock safe.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2017-10-30 12:27:55 +01:00
..
2017-08-15 09:02:09 -07:00
2017-08-15 09:02:09 -07:00
2017-10-18 18:51:27 -04:00
2017-08-15 09:02:09 -07:00