1. 30 Dec, 2009 2 commits
    • Hugh Dickins's avatar
      mm: move sys_mmap_pgoff from util.c · 66f0dc48
      Hugh Dickins authored
      Move sys_mmap_pgoff() from mm/util.c to mm/mmap.c and mm/nommu.c,
      where we'd expect to find such code: especially now that it contains
      the MAP_HUGETLB handling.  Revert mm/util.c to how it was in 2.6.32.
      
      This patch just ignores MAP_HUGETLB in the nommu case, as in 2.6.32,
      whereas 2.6.33-rc2 reported -ENOSYS.  Perhaps validate_mmap_request()
      should reject it with -EINVAL?  Add that later if necessary.
      Signed-off-by: default avatarHugh Dickins <hugh.dickins@tiscali.co.uk>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      66f0dc48
    • James Bottomley's avatar
      libsrp: fix compile failure · 75c85a0b
      James Bottomley authored
      commit 45465487 ("kfifo: move struct
      kfifo in place") caused a compile failure in ibmvscsitgt.c because it
      changed a pointer to kfifo in the libsrp.h structure to a direct
      inclusion without including <linux/kfifo.h>.
      
      The fix is simple, just add the include, but how did this happen? This
      change, introduced at -rc2, hardly looks like a bug fix, and it clearly
      didn't go through linux-next, which would have picked up this compile
      failure (it only occurs on ppc because of the ibm virtual scsi target).
      
      [ Apparently all of -mm wasn't in linux-next.. ]
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      75c85a0b
  2. 24 Dec, 2009 38 commits