Patch from Christoph Hellwig.
Summary:
* ->mprotect is not an operation on the fd but the vma, make it a VM
operation instead of file operation
* remove file argument from ->mprotect - it's always vma->vm_file
* define HAVE_VMOP_MPROTECT and make ->mprotect conditional on it
* simplify ->mmap, calling generic_file_mmap is pointless.
* rename linvfs_generic_file_mmap to linvfs_file_mmap
* add missing externs in xfs_dmapi.h
Date: Thu Jul 11 08:04:20 PDT 2002
Workarea: clink-eth.americas.sgi.com:/data/clink/a67/roehrich/2.4.x-xfs
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs
Modid: 2.4.x-xfs:slinx:122842a
linux/mm/mprotect.c - 1.22
linux/include/linux/mm.h - 1.84
linux/include/linux/fs.h - 1.154
linux/fs/xfs/xfs_dmapi.h - 1.28
linux/fs/xfs/xfs_dmapi.c - 1.68
linux/fs/xfs/linux/xfs_dmistubs.c - 1.19
linux/fs/xfs/linux/xfs_file.c - 1.72
|