FreeBSD Bugzilla – Attachment 201007 Details for
Bug 234413
zfs: quotactl() returns wrong error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Return EINVAL if no quotas are present
quota-diffs.txt (text/plain), 622 bytes, created by
Sean Eric Fagan
on 2019-01-11 00:09:55 UTC
(
hide
)
Description:
Return EINVAL if no quotas are present
Filename:
MIME Type:
Creator:
Sean Eric Fagan
Created:
2019-01-11 00:09:55 UTC
Size:
622 bytes
patch
obsolete
>diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c >index b372e9734aa..7255a09f575 100644 >--- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c >+++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c >@@ -144,7 +144,7 @@ zfs_getquota(zfsvfs_t *zfsvfs, uid_t id, int isgroup, struct dqblk64 *dqp) > quotaobj = isgroup ? zfsvfs->z_groupquota_obj : zfsvfs->z_userquota_obj; > > if (quotaobj == 0 || zfsvfs->z_replay) { >- error = ENOENT; >+ error = EINVAL; > goto done; > } > (void)sprintf(buf, "%llx", (longlong_t)id);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 234413
:
200570
| 201007