madvise: correct the comment of MADV_DODUMP flag
authorZhang Yanfei <zhangyanfei@cn.fujitsu.com>
Mon, 7 Apr 2014 22:37:56 +0000 (15:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 7 Apr 2014 23:35:58 +0000 (16:35 -0700)
s/MADV_NODUMP/MADV_DONTDUMP/

Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/uapi/asm-generic/mman-common.h

index 4164529a94f9f1529ac55c012d1d58d4a2dd6c2f..ddc3b36f1046bd6605ecdd769e4f70e59404e16b 100644 (file)
@@ -50,7 +50,7 @@
 
 #define MADV_DONTDUMP   16             /* Explicity exclude from the core dump,
                                           overrides the coredump filter bits */
-#define MADV_DODUMP    17              /* Clear the MADV_NODUMP flag */
+#define MADV_DODUMP    17              /* Clear the MADV_DONTDUMP flag */
 
 /* compatibility flags */
 #define MAP_FILE       0