FreeBSD Bugzilla – Attachment 224070 Details for
Bug 254682
quota enabled filesystem doesn't show enabled running mount command
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix for bug.
diffs (text/plain), 634 bytes, created by
Kirk McKusick
on 2021-04-13 00:22:41 UTC
(
hide
)
Description:
Proposed fix for bug.
Filename:
MIME Type:
Creator:
Kirk McKusick
Created:
2021-04-13 00:22:41 UTC
Size:
634 bytes
patch
obsolete
>diff --git a/sys/ufs/ufs/ufs_quota.c b/sys/ufs/ufs/ufs_quota.c >index 47c8133..4dff74f 100644 >--- a/sys/ufs/ufs/ufs_quota.c >+++ b/sys/ufs/ufs/ufs_quota.c >@@ -562,6 +562,7 @@ quotaon(struct thread *td, struct mount *mp, int type, void *fname) > VOP_UNLOCK(vp); > MNT_ILOCK(mp); > mp->mnt_flag |= MNT_QUOTA; >+ mp->mnt_stat.f_flags |= MNT_QUOTA; > MNT_IUNLOCK(mp); > > vpp = &ump->um_quotas[type]; >@@ -764,6 +765,7 @@ quotaoff_inchange(struct thread *td, struct mount *mp, int type) > if (i == MAXQUOTAS) { > MNT_ILOCK(mp); > mp->mnt_flag &= ~MNT_QUOTA; >+ mp->mnt_stat.f_flags &= ~MNT_QUOTA; > MNT_IUNLOCK(mp); > } > UFS_UNLOCK(ump);
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 254682
: 224070