nommu: fix an incorrect comment in the do_mmap_shared_file()
authorDavid Howells <dhowells@redhat.com>
Tue, 23 Mar 2010 20:35:21 +0000 (13:35 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 24 Mar 2010 23:31:20 +0000 (16:31 -0700)
commit3fa30460ea502133a18a07b14452cd660906f16f
tree0e7bd3404258fae1adc8813a7fc3c21c13ba3cba
parent28b8e8d4e2e3e27aa911b5aee59d5194a878f53e
nommu: fix an incorrect comment in the do_mmap_shared_file()

Fix an incorrect comment in the do_mmap_shared_file().  If a mapping is
requested MAP_SHARED, then a private copy cannot be made and still provide
correct semantics.

Signed-off-by: David Howells <dhowells@redhat.com>
Reported-by: Dave Hudson <uclinux@blueteddy.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/nommu.c