DragonFly BSD
DragonFly commits List (threaded) for 2010-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: devfs - Fix incorrect st_size reporting


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 1 Apr 2010 09:18:04 -0700 (PDT)

commit a3c7ebb989faa275eff6ba6ea2d44ca47170bcec
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]