original_kernel/drivers/block
Nate Diller 01f2705daf fs: convert core functions to zero_user_page
It's very common for file systems to need to zero part or all of a page,
the simplist way is just to use kmap_atomic() and memset().  There's
actually a library function in include/linux/highmem.h that does exactly
that, but it's confusingly named memclear_highpage_flush(), which is
descriptive of *how* it does the work rather than what the *purpose* is.
So this patchset renames the function to zero_user_page(), and calls it
from the various places that currently open code it.

This first patch introduces the new function call, and converts all the
core kernel callsites, both the open-coded ones and the old
memclear_highpage_flush() ones.  Following this patch is a series of
conversions for each file system individually, per AKPM, and finally a
patch deprecating the old call.  The diffstat below shows the entire
patchset.

[akpm@linux-foundation.org: fix a few things]
Signed-off-by: Nate Diller <nate.diller@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-09 12:30:55 -07:00
..
aoe
paride
DAC960.c
DAC960.h
Kconfig
Makefile
acsi.c
acsi_slm.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
amiflop.c mm: remove destroy_dirty_buffers from invalidate_bdev() 2007-05-07 12:12:55 -07:00
ataflop.c
cciss.c cciss: include scsi/scsi.h unconditionally 2007-05-08 11:15:10 -07:00
cciss.h
cciss_cmd.h
cciss_scsi.c cciss: include scsi/scsi.h unconditionally 2007-05-08 11:15:10 -07:00
cciss_scsi.h
cpqarray.c
cpqarray.h
cryptoloop.c
floppy.c floppy: handle device_create_file() failure while init 2007-05-08 11:15:02 -07:00
ida_cmd.h
ida_ioctl.h
loop.c fs: convert core functions to zero_user_page 2007-05-09 12:30:55 -07:00
nbd.c nbd: check the return value of sysfs_create_file 2007-05-09 12:30:49 -07:00
pktcdvd.c
ps2esdi.c
rd.c mm: remove destroy_dirty_buffers from invalidate_bdev() 2007-05-07 12:12:55 -07:00
smart1,2.h
swim3.c
sx8.c
ub.c
umem.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
viodasd.c
xd.c
xd.h
z2ram.c