Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-2548 quota: don't apply migration on global index copy
[fs/lustre-release.git]
/
lustre
/
osd-ldiskfs
/
osd_quota.c
diff --git
a/lustre/osd-ldiskfs/osd_quota.c
b/lustre/osd-ldiskfs/osd_quota.c
index
9e16533
..
bfab83a
100644
(file)
--- a/
lustre/osd-ldiskfs/osd_quota.c
+++ b/
lustre/osd-ldiskfs/osd_quota.c
@@
-857,6
+857,8
@@
static int truncate_quota_index(const struct lu_env *env, struct dt_object *dt,
int rc;
ENTRY;
+ LASSERT(fid_seq(lu_object_fid(&dt->do_lu)) == FID_SEQ_QUOTA_GLB);
+
OBD_ALLOC_PTR(attr);
if (attr == NULL)
RETURN(-ENOMEM);