]> err.no Git - linux-2.6/blobdiff - fs/gfs2/ops_fstype.c
[NETFILTER]: nf_conntrack: add NetBIOS name service helper port
[linux-2.6] / fs / gfs2 / ops_fstype.c
index e99444dffeb8203d2b29d39da3a40885fbb85f6d..882873a6bd6909cf985c78ed859bbf54fb66c078 100644 (file)
@@ -794,8 +794,8 @@ static int fill_super_meta(struct super_block *sb, struct super_block *new,
                fs_err(sdp, "can't get root dentry\n");
                error = -ENOMEM;
                iput(inode);
-       }
-       new->s_root->d_op = &gfs2_dops;
+       } else
+               new->s_root->d_op = &gfs2_dops;
 
        return error;
 }