commit | 4e2814ef04080fae123edf8fcef555f5a424e7ba | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Tue May 16 19:10:29 2017 +0200 |
committer | David Sterba <dsterba@suse.com> | Mon Jun 19 18:26:00 2017 +0200 |
tree | 47235cbf6990f4f85094c673bd8432ef43524e16 | |
parent | e241ddeb9c6c9df05911fb156baa4fb442b74983 [diff] |
btrfs: scrub: simplify cleanup of wr_ctx in scrub_free_ctx We don't need to take the mutex and zero out wr_cur_bio, as this is called after the scrub finished. Reviewed-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>