mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Jan Kara <jack@suse.cz>
Cc: Q@ping.be, linux-kernel@vger.kernel.org
Subject: Re: ext3 truncate bug in 2.6.0?
Date: Fri, 19 Dec 2003 19:20:42 -0800	[thread overview]
Message-ID: <20031219192042.47c6c690.akpm@osdl.org> (raw)
In-Reply-To: <20031219141420.GA21129@atrey.karlin.mff.cuni.cz>

Jan Kara <jack@suse.cz> wrote:
>
>   Hi,
> 
>   it seems there's really a problem - does attached patch fix it?
> 

I think it will - thanks for that.

> --- linux/fs/ext3/balloc.c	Fri Dec 19 15:09:19 2003
> +++ linux/fs/ext3/balloc.c	Fri Dec 19 15:10:18 2003
> @@ -517,7 +517,7 @@
>  		sbi->s_resuid != current->fsuid &&
>  		(sbi->s_resgid == 0 || !in_group_p (sbi->s_resgid))) {
>  		*errp = -ENOSPC;
> -		return 0;
> +		goto out;
>  	}
>  
>  	/*
> 


      reply	other threads:[~2003-12-20  3:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-18 21:07 Kurt Roeckx
2003-12-18 21:29 ` Richard B. Johnson
2003-12-18 23:25   ` Kurt Roeckx
2003-12-19 14:14 ` Jan Kara
2003-12-20  3:20   ` Andrew Morton [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=20031219192042.47c6c690.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=Q@ping.be \
    --cc=jack@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    /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

Powered by JetHome