btrfs: use clear_page where appropriate
authorDavid Sterba <dsterba@suse.com>
Wed, 29 Mar 2017 18:48:44 +0000 (20:48 +0200)
committerDavid Sterba <dsterba@suse.com>
Tue, 18 Apr 2017 12:07:26 +0000 (14:07 +0200)
commit619a974292387343c817f5a36e9df6daeb3ccc60
tree84054ab9ab18ebbbca66634fd07976b0f7f6f782
parente501bfe323356ea3f7ef79d4b0d95389b70a7193
btrfs: use clear_page where appropriate

There's a helper to clear whole page, with a arch-specific optimized
code. The replaced cases do not seem to be in performace critical code,
but we still might get some percent gain.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/free-space-cache.c
fs/btrfs/scrub.c