lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3e8340490902200953p704fd9dbuff0a7a890895ea23@mail.gmail.com>
Date:	Fri, 20 Feb 2009 12:53:39 -0500
From:	Bryan Donlan <bdonlan@...il.com>
To:	linux-ext4@...r.kernel.org, linux-kernel@...r.kernel.org
Cc:	sct@...hat.com, akpm@...ux-foundation.org, adilger@....com,
	tytso@....edu, Bryan Donlan <bdonlan@...il.com>
Subject: Re: [PATCH v2] ext[234]: Return -EIO not -ESTALE on directory 
	traversal through deleted inode

On Mon, Feb 16, 2009 at 8:10 PM, Bryan Donlan <bdonlan@...il.com> wrote:

> +               if (unlikely(IS_ERR(inode))) {
> +                       if (PTR_ERR(inode) == -ESTALE) {
> +                               ext3_error(dir->i_sb, "ext2_lookup",
> +                                               "deleted inode referenced: %lu",
> +                                               ino);
> +                               return ERR_PTR(-EIO);
> +                       } else {
> +                               return ERR_CAST(inode);
> +                       }
> +               }

I just noticed that I forgot to edit the function name in the
ext3_error and ext4_error invocations... Would it be better to send a
delta to fix this or resubmit the whole thing?
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ