diff --git a/fs/exofs/inode.c b/fs/exofs/inode.c index 7e7ba9ada405f957106ebea879a9c72639709de2..390224a162d056969a091c2a11f37b2772862567 100644 --- a/fs/exofs/inode.c +++ b/fs/exofs/inode.c @@ -1102,8 +1102,7 @@ static int exofs_get_inode(struct super_block *sb, struct exofs_i_info *oi, /* If object is lost on target we might as well enable it's * delete. */ - if ((ret == -ENOENT) || (ret == -EINVAL)) - ret = 0; + ret = 0; goto out; }