diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2005-03-15 20:00:03 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2005-03-15 20:00:03 +0000 |
| commit | 45c26fa2b6f0f510e3b8424d379638aaf549bc63 (patch) | |
| tree | 0df7ee974522d53324dfa9c6197c29fa4c9ee7c8 /sys/fs/udf/udf_vfsops.c | |
| parent | 0c3a1acbbb88c278e710f9d13c046c312c7dd5f9 (diff) | |
Notes
Diffstat (limited to 'sys/fs/udf/udf_vfsops.c')
| -rw-r--r-- | sys/fs/udf/udf_vfsops.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/fs/udf/udf_vfsops.c b/sys/fs/udf/udf_vfsops.c index 60eaa7b31e50..0fa8a69e6917 100644 --- a/sys/fs/udf/udf_vfsops.c +++ b/sys/fs/udf/udf_vfsops.c @@ -604,10 +604,8 @@ udf_vget(struct mount *mp, ino_t ino, int flags, struct vnode **vpp) vp->v_data = unode; error = vfs_hash_insert(vp, ino, flags, curthread, vpp); - if (error || *vpp != NULL) { - vput(vp); + if (error || *vpp != NULL) return (error); - } /* * Copy in the file entry. Per the spec, the size can only be 1 block. |
