Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/dist/uts/common/fs/zfs Don't try to rele...
details: https://anonhg.NetBSD.org/src/rev/65217bb4e517
branches: trunk
changeset: 994926:65217bb4e517
user: hannken <hannken%NetBSD.org@localhost>
date: Wed Nov 28 09:56:40 2018 +0000
description:
Don't try to release a NULL vnode in zfs_netbsd_rename().
diffstat:
external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r d55cd636975e -r 65217bb4e517 external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c
--- a/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c Wed Nov 28 09:56:09 2018 +0000
+++ b/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c Wed Nov 28 09:56:40 2018 +0000
@@ -5467,7 +5467,8 @@
VN_RELE(fdvp);
VN_RELE(tdvp);
- VN_RELE(fvp);
+ if (fvp != NULL)
+ VN_RELE(fvp);
if (tvp != NULL)
VN_RELE(tvp);
Home |
Main Index |
Thread Index |
Old Index