Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 693189 Details for
Bug 846296
quotacheck on gfs2 with verbose flag gives misleading info
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Upstream patch
0001-Do-not-fiddle-with-quota-files-on-XFS-and-GFS.patch (text/plain), 1.48 KB, created by
Petr Pisar
on 2013-02-05 07:45:35 UTC
(
hide
)
Description:
Upstream patch
Filename:
MIME Type:
Creator:
Petr Pisar
Created:
2013-02-05 07:45:35 UTC
Size:
1.48 KB
patch
obsolete
>From 5f7b9d139d64117abc4dcd66d2fbac99c070d7ce Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> >Date: Thu, 31 Jan 2013 12:58:59 +0100 >Subject: [PATCH] Do not fiddle with quota files on XFS and GFS >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >XFS and GFS have no quota files. Skip unnecessary examination and >rename of these files when running quotacheck. > >Signed-off-by: Petr PÃsaÅ <ppisar@redhat.com> >Signed-off-by: Jan Kara <jack@suse.cz> >--- > quotacheck.c | 7 +++++++ > 1 file changed, 7 insertions(+) > >diff --git a/quotacheck.c b/quotacheck.c >index 0d0d4b2..e047825 100644 >--- a/quotacheck.c >+++ b/quotacheck.c >@@ -828,6 +828,9 @@ static int dump_to_file(struct mount_entry *mnt, int type) > return -1; > } > debug(FL_DEBUG, _("Data dumped.\n")); >+ /* Moving of quota files doesn't apply to GFS2 or XFS */ >+ if (cfmt == QF_XFS) >+ return 0; > if (kern_quota_on(mnt, type, cfmt) >= 0) { /* Quota turned on? */ > char *filename; > >@@ -871,6 +874,10 @@ static int sub_quota_file(struct mount_entry *mnt, int qtype, int ftype) > struct dquot *d; > qid_t id; > >+ /* GFS2 and XFS do not have quota files. */ >+ if (cfmt == QF_XFS) >+ return 0; >+ > debug(FL_DEBUG, _("Substracting space used by old %s quota file.\n"), _(type2name(ftype))); > if (get_qf_name(mnt, ftype, cfmt, 0, &filename) < 0) { > debug(FL_VERBOSE, _("Old %s file name could not been determined. Usage will not be subtracted.\n"), _(type2name(ftype))); >-- >1.8.1.2 >
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 846296
:
690870
| 693189