git: devfs - Fix incorrect st_size reporting

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Apr 1 09:19:09 PDT 2010


commit a3c7ebb989faa275eff6ba6ea2d44ca47170bcec
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Apr 1 09:16:23 2010 -0700

    devfs - Fix incorrect st_size reporting
    
    * The default reported st_size should be 0 and not sizeof(devfs_node).
    
    * Fixes incorrect reporting for /dev/null and other devices.
    
    Reported-by: marino2, numerous others (it slipped through the cracks)

Summary of changes:
 sys/vfs/devfs/devfs_vnops.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list