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-11412 kernel: kernel update [SLES12 SP3 4.4.155-94.50]
[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
5c4ce09
..
34d2a74
100644
(file)
--- a/
lustre/osd-ldiskfs/osd_quota.c
+++ b/
lustre/osd-ldiskfs/osd_quota.c
@@
-97,8
+97,12
@@
int osd_acct_obj_lookup(struct osd_thread_info *info, struct osd_device *osd,
RETURN(-ENOENT);
break;
}
- if (!ldiskfs_valid_inum(sb, id->oii_ino))
+
+ if (!ldiskfs_valid_inum(sb, id->oii_ino) &&
+ id->oii_ino != LDISKFS_USR_QUOTA_INO &&
+ id->oii_ino != LDISKFS_GRP_QUOTA_INO)
RETURN(-ENOENT);
+
RETURN(0);
}