git: vm: Remove duplicate reference in cdev_pager_allocate()

Aaron LI aly at crater.dragonflybsd.org
Tue Jul 28 05:24:58 PDT 2026


commit 86716f08203a59fe1b56b5af2913a8ab4acef22e
Author: Aaron LI <aly at aaronly.me>
Date:   Tue Jul 28 19:11:38 2026 +0800

    vm: Remove duplicate reference in cdev_pager_allocate()
    
    The code was updated in 2013 [1] to bring in various changes from
    FreeBSD, but left this duplicate reference.  Remove the erroneous
    vm_object_reference_locked() call.
    
    [1] kernel: Port new device_pager interface from FreeBSD
        commit f2c2051ee473577d22178d55f782ceebbd88d58f
    
    GitHub-PR: #49
    Credit: LI Leding

Summary of changes:
 sys/vm/device_pager.c | 4 ----
 1 file changed, 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/86716f08203a59fe1b56b5af2913a8ab4acef22e


-- 
DragonFly BSD source repository


More information about the Commits mailing list