Whamcloud - gitweb
b=2837
authoralex <alex>
Mon, 14 Jun 2004 15:27:21 +0000 (15:27 +0000)
committeralex <alex>
Mon, 14 Jun 2004 15:27:21 +0000 (15:27 +0000)
b=3582

  inproper kunmap() usage fixed

lustre/mds/mds_lmv.c

index a3a9144..ccd4ec7 100644 (file)
@@ -717,7 +717,7 @@ int mds_commitrw(int cmd, struct obd_export *exp, struct obdo *oa,
                                 ((char *) de + DIR_REC_LEN(de->namelen));
                         entries++;
                 }
-                kunmap(buf);
+                kunmap(lnb->page);
         }
 
         for (i = 0, lnb = res; i < obj->ioo_bufcnt; i++, lnb++)