]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/miscfs/nullfs/null_vfsops.c
xnu-7195.101.1.tar.gz
[apple/xnu.git] / bsd / miscfs / nullfs / null_vfsops.c
index b09395429b7c69dc0c6e8237d0d8324a30909685..c0f5ac6e7fe38de0259b77598121d42cdcf10a89 100644 (file)
@@ -221,10 +221,7 @@ nullfs_mount(struct mount * mp, __unused vnode_t devvp, user_addr_t user_data, v
        vnode_ref(vp);
        vnode_put(vp);
 
-       error = nullfs_init_lck(&xmp->nullm_lock);
-       if (error) {
-               goto error;
-       }
+       nullfs_init_lck(&xmp->nullm_lock);
 
        xmp->nullm_rootvp = vp;