linux/fs/ncpfs
Nick Piggin d0217ac04c mm: fault feedback #1
Change ->fault prototype.  We now return an int, which contains
VM_FAULT_xxx code in the low byte, and FAULT_RET_xxx code in the next byte.
 FAULT_RET_ code tells the VM whether a page was found, whether it has been
locked, and potentially other things.  This is not quite the way he wanted
it yet, but that's changed in the next patch (which requires changes to
arch code).

This means we no longer set VM_CAN_INVALIDATE in the vma in order to say
that a page is locked which requires filemap_nopage to go away (because we
can no longer remain backward compatible without that flag), but we were
going to do that anyway.

struct fault_data is renamed to struct vm_fault as Linus asked. address
is now a void __user * that we should firmly encourage drivers not to use
without really good reason.

The page is now returned via a page pointer in the vm_fault struct.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-19 10:04:41 -07:00
..
dir.c [PATCH] mark struct inode_operations const 2 2007-02-12 09:48:46 -08:00
file.c Only send SIGXFSZ when exceeding rlimits. 2007-07-16 09:05:43 -07:00
getopt.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
getopt.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
inode.c Remove SLAB_CTOR_CONSTRUCTOR 2007-05-17 05:23:04 -07:00
ioctl.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mmap.c mm: fault feedback #1 2007-07-19 10:04:41 -07:00
ncplib_kernel.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ncplib_kernel.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ncpsign_kernel.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ncpsign_kernel.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sock.c ncpfs: make sure server connection survives a kill 2007-03-06 13:26:27 +01:00
symlink.c [PATCH] fs: Removing useless casts 2006-09-27 08:26:10 -07:00