From f4538b57aa2d99471ebe177845b68508667ee1b1 Mon Sep 17 00:00:00 2001 From: adilger Date: Fri, 16 Aug 2002 20:53:08 +0000 Subject: [PATCH] Fix yet one more hidden-by-missing-kmap compile error. --- lustre/obdfilter/filter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/obdfilter/filter.c b/lustre/obdfilter/filter.c index 65e0fa1..c823a65 100644 --- a/lustre/obdfilter/filter.c +++ b/lustre/obdfilter/filter.c @@ -774,7 +774,7 @@ static int filter_pgcache_brw(int cmd, struct lustre_handle *conn, retval = file->f_op->write(file, buffer, pga[pnum].count, &off); - kunmap(pages[pnum]); + kunmap(pga[pnum].pg); CDEBUG(D_INODE, "retval %ld\n", retval); } else { loff_t off = pga[pnum].off; @@ -787,7 +787,7 @@ static int filter_pgcache_brw(int cmd, struct lustre_handle *conn, retval = file->f_op->read(file, buffer, pga[pnum].count, &off); } - kunmap(pages[pnum]); + kunmap(pga[pnum].pg); if (retval != pga[pnum].count) { filp_close(file, 0); -- 1.8.3.1