X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fosd-zfs%2Fosd_quota.c;h=b51be3bf8aae36f1567c60a00a51c72fd5788ba6;hb=26345bee6b04d9e82019a42dfd4f0d4c96f97b2e;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..b51be3b 100644 --- a/lustre/osd-zfs/osd_quota.c +++ b/lustre/osd-zfs/osd_quota.c @@ -21,15 +21,14 @@ * 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 +95,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 +114,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 +285,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);