lkml.org 
[lkml]   [2003]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ext3 truncate bug in 2.6.0?
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;
> }
>
> /*
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.447 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site