From 5876a643f910c30819720f24172a1406a70ca2a0 Mon Sep 17 00:00:00 2001 From: braam Date: Mon, 21 Jan 2002 05:52:56 +0000 Subject: [PATCH] Nasty cflag confusion in configure.ac. --- lustre/obdfs/rw.c | 1 - lustre/patches/patch-2.4.17 | 26 ++++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/lustre/obdfs/rw.c b/lustre/obdfs/rw.c index cfde0b3..c22f6a3 100644 --- a/lustre/obdfs/rw.c +++ b/lustre/obdfs/rw.c @@ -224,7 +224,6 @@ int obdfs_readpage(struct file *file, struct page *page) EXIT; return rc; } - /* PDEBUG(page, "READ"); */ readpage_out: SetPageUptodate(page); diff --git a/lustre/patches/patch-2.4.17 b/lustre/patches/patch-2.4.17 index 8f134de..411f6ed 100644 --- a/lustre/patches/patch-2.4.17 +++ b/lustre/patches/patch-2.4.17 @@ -1,3 +1,29 @@ +--- linux/mm/filemap.c.obd-orig Mon Nov 26 06:29:17 2001 ++++ linux/mm/filemap.c Tue Dec 11 14:29:50 2001 +@@ -2862,8 +2861,10 @@ + if ((ssize_t) count < 0) + return -EINVAL; + ++#if 0 + if (!access_ok(VERIFY_READ, buf, count)) + return -EFAULT; ++#endif + + cached_page = NULL; + +@@ -2987,10 +2988,12 @@ + * same page as we're writing to, without it being marked + * up-to-date. + */ ++#if 0 + { volatile unsigned char dummy; + __get_user(dummy, buf); + __get_user(dummy, buf+bytes-1); + } ++#endif + + status = -ENOMEM; /* we'll assign it later anyway */ + page = __grab_cache_page(mapping, index, &cached_page); --- linux/kernel/ksyms.c.lustre-orig Sun Jan 20 17:47:43 2002 +++ linux/kernel/ksyms.c Sun Jan 20 18:21:30 2002 @@ -280,6 +280,13 @@ -- 1.8.3.1