git: sys/vfs/hammer2: Remove unused hammer2_dev_{ex,sh,un}lock()

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Wed Oct 28 09:42:09 PDT 2020


commit ace95309c031e792787cb87dc37f366295b6af9d
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Tue Oct 27 00:11:23 2020 +0900

    sys/vfs/hammer2: Remove unused hammer2_dev_{ex,sh,un}lock()
    
    Added in 506bd6d145b6429947d572e34575b4a2a864193c in 2015,
    but unused since 6f445d15835c6677a0a79c8d168ef44d0b9b22c3 in 2018.
    
    It currently takes vchain lock via hammer2_chain_lock(),
    so this function won't be needed or used again.

Summary of changes:
 sys/vfs/hammer2/hammer2.h        |  4 ----
 sys/vfs/hammer2/hammer2_subr.c   | 21 ---------------------
 sys/vfs/hammer2/hammer2_vfsops.c |  7 +------
 3 files changed, 1 insertion(+), 31 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ace95309c031e792787cb87dc37f366295b6af9d


-- 
DragonFly BSD source repository


More information about the Commits mailing list