git: kernel - Optimize lseek() SEEK_END

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Jul 25 12:31:49 PDT 2020


commit 8462c3c5f73ccce86f9c5dcc8f4d00b5fb3c771d
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Jul 25 10:02:12 2020 -0700

    kernel - Optimize lseek() SEEK_END
    
    * Use VOP_GETATTR_QUICK() instead of VOP_GETATTR_FP() to omit
      unnecessary locking.
    
    Submitted-by: mjg

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8462c3c5f73ccce86f9c5dcc8f4d00b5fb3c771d


-- 
DragonFly BSD source repository


More information about the Commits mailing list