lkml.org 
[lkml]   [2009]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2] ext[234]: Return -EIO not -ESTALE on directory traversal through deleted inode
From
On Mon, Feb 16, 2009 at 8:10 PM, Bryan Donlan <bdonlan@gmail.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?


\
 
 \ /
  Last update: 2009-02-20 18:57    [W:0.058 / U:0.808 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site