cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Steven Whitehouse <swhiteho@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [GFS2 Patch] GFS2: Fix quota adjustment return code
Date: Wed, 16 May 2012 13:28:13 +0100	[thread overview]
Message-ID: <1337171293.2696.58.camel@menhir> (raw)
In-Reply-To: <40d26de0-0d10-4c0e-94c0-78d827ed7f02@zmail12.collab.prod.int.phx2.redhat.com>

Hi,

On Tue, 2012-05-15 at 14:51 -0400, Bob Peterson wrote:
> Hi,
> 
> This patch changes function gfs2_adjust_quota so that it properly
> returns a good (zero) return code on the normal path through the code.
> Without this, mounting GFS2 with -o quota=account periodically gave
> this error message: GFS2: fsid=cluster:fs: gfs2_quotad: sync error -5
> 
Now in the -nmw git tree. Thanks,

Steve.

> Regards,
> 
> Bob Peterson
> Red Hat File Systems
> 
> Signed-off-by: Bob Peterson <rpeterso@redhat.com> 
> ---
> diff --git a/fs/gfs2/quota.c b/fs/gfs2/quota.c
> index 02df0de..197cc2d 100644
> --- a/fs/gfs2/quota.c
> +++ b/fs/gfs2/quota.c
> @@ -744,7 +744,7 @@ get_a_page:
>  		i_size_write(inode, size);
>  	inode->i_mtime = inode->i_atime = CURRENT_TIME;
>  	mark_inode_dirty(inode);
> -	return err;
> +	return 0;
>  
>  unlock_out:
>  	unlock_page(page);
> 




      reply	other threads:[~2012-05-16 12:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <244fe9c3-81db-4202-a506-aa77c2e5225a@zmail12.collab.prod.int.phx2.redhat.com>
2012-05-15 18:51 ` [Cluster-devel] [GFS2 Patch] GFS2: Fix quota adjustment return code Bob Peterson
2012-05-16 12:28   ` Steven Whitehouse [this message]

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=1337171293.2696.58.camel@menhir \
    --to=swhiteho@redhat.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;
as well as URLs for NNTP newsgroup(s).