X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fgfs2%2Fops_export.c;h=990d9f4bc463588df8f24e94f9439f4750e8f951;hb=ec42418f1973e1f77da1fcca3be59c0acb878a9d;hp=334c7f85351bcd5397c7749aa009d56ed4e6608b;hpb=c58310bf4933986513020fa90b4190c7492995ae;p=linux-2.6 diff --git a/fs/gfs2/ops_export.c b/fs/gfs2/ops_export.c index 334c7f8535..990d9f4bc4 100644 --- a/fs/gfs2/ops_export.c +++ b/fs/gfs2/ops_export.c @@ -204,8 +204,6 @@ static struct dentry *gfs2_get_dentry(struct super_block *sb, inode = gfs2_inode_lookup(sb, DT_UNKNOWN, inum->no_addr, 0, 0); - if (!inode) - goto fail; if (IS_ERR(inode)) { error = PTR_ERR(inode); goto fail;