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

git: DragonFly_RELEASE_2_6 devfs - Fix incorrect st_size reporting


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

commit de38603c0183a45608d9741eaf559ccea71a3716
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/de38603c0183a45608d9741eaf559ccea71a3716


-- 
DragonFly BSD source repository



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