- nfs-nommu-fix-bug-executing-fdpic-elf-on-nfs-mount-triggers-bug-at-mm-nommuc-862-do_mmap_private.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     nfs/nommu: fix bug: executing FDPIC ELF on NFS mount triggers BUG() at mm/nommu.c:862:/do_mmap_private()
has been removed from the -mm tree.  Its filename was
     nfs-nommu-fix-bug-executing-fdpic-elf-on-nfs-mount-triggers-bug-at-mm-nommuc-862-do_mmap_private.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: nfs/nommu: fix bug: executing FDPIC ELF on NFS mount triggers BUG() at mm/nommu.c:862:/do_mmap_private()
From: Bryan Wu <cooloney@xxxxxxxxxx>

NFS needs a NOMMU version mmap function to support uClinux on NOMMU machine
http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_id=141&tracker_item_id=3992

Signed-off-by: Bryan Wu <cooloney@xxxxxxxxxx>
Cc: Mike Frysinger <vapier.adi@xxxxxxxxx>
Cc: Trond Myklebust <trond.myklebust@xxxxxxxxxx>
Cc: "J. Bruce Fields" <bfields@xxxxxxxxxxxx>
Cc: David Howells <dhowells@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 fs/nfs/file.c |    4 ++++
 1 file changed, 4 insertions(+)

diff -puN fs/nfs/file.c~nfs-nommu-fix-bug-executing-fdpic-elf-on-nfs-mount-triggers-bug-at-mm-nommuc-862-do_mmap_private fs/nfs/file.c
--- a/fs/nfs/file.c~nfs-nommu-fix-bug-executing-fdpic-elf-on-nfs-mount-triggers-bug-at-mm-nommuc-862-do_mmap_private
+++ a/fs/nfs/file.c
@@ -64,7 +64,11 @@ const struct file_operations nfs_file_op
 	.write		= do_sync_write,
 	.aio_read	= nfs_file_read,
 	.aio_write	= nfs_file_write,
+#ifdef CONFIG_MMU
 	.mmap		= nfs_file_mmap,
+#else
+	.mmap		= generic_file_mmap,
+#endif
 	.open		= nfs_file_open,
 	.flush		= nfs_file_flush,
 	.release	= nfs_file_release,
_

Patches currently in -mm which might be from cooloney@xxxxxxxxxx are

origin.patch
git-watchdog.patch
smc91x-driver-fix-bug-print-warning-only-in-interrupt-mode.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux