X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fobdclass%2Fllog_ioctl.c;h=3cc0700724bfe8a799345ccc761dc14ada40e1ef;hb=88dd29f38769744eac20b06e1baac52872bf423f;hp=23383cf59a227d61af3e2dfd9eb4ec3e7d560a83;hpb=0a859380c36ac24871f221b35042f76c56b04438;p=fs%2Flustre-release.git diff --git a/lustre/obdclass/llog_ioctl.c b/lustre/obdclass/llog_ioctl.c index 23383cf..3cc0700 100644 --- a/lustre/obdclass/llog_ioctl.c +++ b/lustre/obdclass/llog_ioctl.c @@ -26,7 +26,7 @@ * GPL HEADER END */ /* - * Copyright 2008 Sun Microsystems, Inc. All rights reserved + * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. */ /* @@ -433,7 +433,7 @@ int llog_catalog_list(struct obd_device *obd, int count, ENTRY; size = sizeof(*idarray) * count; - OBD_VMALLOC(idarray, size); + OBD_ALLOC_LARGE(idarray, size); if (!idarray) RETURN(-ENOMEM); @@ -460,7 +460,7 @@ out: /* release semaphore */ cfs_mutex_up(&obd->obd_olg.olg_cat_processing); - OBD_VFREE(idarray, size); + OBD_FREE_LARGE(idarray, size); RETURN(rc); }