git: kernel - Also include file size in VOP_GETATTR_QUICK()

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Jul 26 10:55:29 PDT 2020


commit cfc46d5274b5e952eed5d25658f92695aa9c92cf
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Jul 26 10:52:19 2020 -0700

    kernel - Also include file size in VOP_GETATTR_QUICK()
    
    * Originally VOP_GETATTR_QUICK() was only meant to be used by the
      nlookup code but we are now also using it with lseek().
    
    * Fix hammer2_vop_getattr_quick() to also provide the file size.
    
    * Fixes bug introduced when lseek() was changed to use this
      VOP.

Summary of changes:
 sys/vfs/hammer2/hammer2_vnops.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list