On Mon, Nov 23, 2020 at 10:07:43PM -0800, ira.we...@intel.com wrote: > From: Ira Weiny <ira.we...@intel.com> > > Remove the kmap/memset()/kunmap pattern and use the new memzero_page() > call where possible. > > Cc: Chris Mason <c...@fb.com> > Cc: Josef Bacik <jo...@toxicpanda.com> > Cc: David Sterba <dste...@suse.com> > Signed-off-by: Ira Weiny <ira.we...@intel.com> > --- > fs/btrfs/inode.c | 21 +++++----------------
The patch converts the pattern only in inode.c, but there's more in compression.c, extent_io.c, zlib.c,d zstd.c (kmap_atomic) and reflink.c, send.c (kmap).