lkml.org 
[lkml]   [2000]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Small bugfix in ext2/namei.c
Hi Michael,

It is better to assume that he has done the checks and then do the checks
to convince yourself (as they say in russia "doverjaj no proverjaj" -
"trust but always double-check").

So, I now went fs/ext2/ialloc.c and did that for you - ext2_new_inode()
does indeed set err accordingly and amongst its possible returns, there is
infact EDQUOT.

Regards,
Tigran

On Fri, 1 Sep 2000, Dr. Michael Weller wrote:

> Sorry, I've no idea about the ext2 and fs implementation.
> However did you read the comment below and convince yourself that 'err' is
> always set correctly?
>
> I'm just asking because you don't mention it and no patch to
> ext2_new_inode that makes it set err correctly is provided. It could be
> the comment was wrong, but I doubt it. This gives me the odd feeling that
> you are fixing things in the wrong place and add new bugs. Please check
> that.
>
> Also, I might be wrong, but maybe you should submit things to Alan, not
> Linus, could be it suffices to post them here though.
>
> Michael.
>
> .... cite from your patch: ...
> /*
> - * N.B. Several error exits in ext2_new_inode don't set err.
> + * Errors like EDQUOT can happen...
> */
>
>
> --
>
> Michael Weller: eowmob@exp-math.uni-essen.de, eowmob@ms.exp-math.uni-essen.de,
> or even mat42b@spi.power.uni-essen.de. If you encounter an eowmob account on
> any machine in the net, it's very likely it's me.
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> Please read the FAQ at http://www.tux.org/lkml/
>

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

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