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 Add missing sa_bu...



details:   https://anonhg.NetBSD.org/src/rev/cfcbc5a41afc
branches:  trunk
changeset: 994924:cfcbc5a41afc
user:      hannken <hannken%NetBSD.org@localhost>
date:      Wed Nov 28 09:55:36 2018 +0000

description:
Add missing sa_buf_rele() into zfs_zget_cleaner().

diffstat:

 external/cddl/osnet/dist/uts/common/fs/zfs/zfs_znode.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r aa3f2e10ecd6 -r cfcbc5a41afc external/cddl/osnet/dist/uts/common/fs/zfs/zfs_znode.c
--- a/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_znode.c    Wed Nov 28 09:55:06 2018 +0000
+++ b/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_znode.c    Wed Nov 28 09:55:36 2018 +0000
@@ -1204,6 +1204,7 @@
        hdl = dmu_buf_get_user(db);
        KASSERT(hdl != NULL);
        zp = sa_get_userdata(hdl);
+       sa_buf_rele(db, NULL);
        *zpp = zp;
        return (0);
 }



Home | Main Index | Thread Index | Old Index