X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fosd-zfs%2Fosd_quota.c;h=7faa28732b8b574c02e94254b61c23682a6ac7ec;hb=79d06b6fac3d18f2e5755a940e8afa42e70f3ba2;hp=3c2fa2b5372af1817826a3f9bfaa6a4fa5a2141c;hpb=c1baab294d7efb10a2e81cefc12dbc8103c8f175;p=fs%2Flustre-release.git diff --git a/lustre/osd-zfs/osd_quota.c b/lustre/osd-zfs/osd_quota.c index 3c2fa2b..7faa287 100644 --- a/lustre/osd-zfs/osd_quota.c +++ b/lustre/osd-zfs/osd_quota.c @@ -21,13 +21,13 @@ * GPL HEADER END */ /* - * Copyright (c) 2011 Whamcloud, Inc. + * Copyright (c) 2012, Intel Corporation. * Use is subject to license terms. * * Author: Johann Lombardi */ -#include +#include #include #include "udmu.h" #include "osd_internal.h" @@ -96,7 +96,7 @@ static int osd_acct_index_lookup(const struct lu_env *env, if (rc == -ENOENT) /* user/group has not created anything yet */ CDEBUG(D_QUOTA, "%s: id %s not found in DMU accounting ZAP\n", - osd->od_dt_dev.dd_lu_dev.ld_obd->obd_name, buf); + osd->od_svname, buf); else if (rc) RETURN(rc); @@ -115,7 +115,7 @@ static int osd_acct_index_lookup(const struct lu_env *env, if (rc == -ENOENT) /* user/group has not created any file yet */ CDEBUG(D_QUOTA, "%s: id %s not found in accounting ZAP\n", - osd->od_dt_dev.dd_lu_dev.ld_obd->obd_name, buf); + osd->od_svname, buf); else if (rc) RETURN(rc); @@ -286,7 +286,7 @@ static int osd_it_acct_rec(const struct lu_env *env, if (rc == -ENOENT) /* user/group has not created any file yet */ CDEBUG(D_QUOTA, "%s: id %s not found in accounting ZAP\n", - osd->od_dt_dev.dd_lu_dev.ld_obd->obd_name, buf); + osd->od_svname, buf); else if (rc) RETURN(rc);