From: Christoph Hellwig <hch@lst.de>
To: David Chinner <dgc@sgi.com>
Cc: Christoph Hellwig <hch@lst.de>, xfs@oss.sgi.com
Subject: Re: [PATCH 11/17] remove dependency of the quota module on behaviors.
Date: Fri, 24 Aug 2007 03:27:02 +0200 [thread overview]
Message-ID: <20070824012702.GC25534@lst.de> (raw)
In-Reply-To: <20070824002612.GC72985246@sgi.com>
On Fri, Aug 24, 2007 at 10:26:12AM +1000, David Chinner wrote:
> > +static struct xfs_qmops xfs_qmcore_stub = {
> > .xfs_qminit = (xfs_qminit_t) xfs_noquota_init,
> > .xfs_qmdone = (xfs_qmdone_t) fs_noerr,
> > .xfs_qmmount = (xfs_qmmount_t) fs_noerr,
> > @@ -124,4 +126,38 @@ xfs_qmops_t xfs_qmcore_stub = {
> > .xfs_dqvoprename = (xfs_dqvoprename_t) fs_noerr,
> > .xfs_dqvopchown = xfs_dqvopchown_default,
> > .xfs_dqvopchownresv = (xfs_dqvopchownresv_t) fs_noerr,
> > + .xfs_dqstatvfs = (xfs_dqstatvfs_t) fs_noval,
> > + .xfs_dqsync = (xfs_dqsync_t) fs_noerr,
>
> That returns no error.
>
> This is slightly non-obvious that if quotas are not enabled or loaded
> that this quota sync does not actually return an error. Perhaps a small
> addition to the comment above XFS_QM_DQSYNC() to explain this would
> help prevent future misunderstandings.
Sure, I'll add a comment.
next prev parent reply other threads:[~2007-08-24 1:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-23 19:39 [PATCH 11/17] remove dependency of the quota module on behaviors Christoph Hellwig
2007-08-24 0:26 ` David Chinner
2007-08-24 1:27 ` Christoph Hellwig [this message]
2007-08-24 7:32 ` David Chinner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070824012702.GC25534@lst.de \
--to=hch@lst.de \
--cc=dgc@sgi.com \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox