git: DragonFly_RELEASE_2_8 devfs - Change setattr code to use vop_helper fns

Alex Hornung alexh at crater.dragonflybsd.org
Tue Mar 29 03:20:27 PDT 2011


commit 8171e09990c09bf13dbc9baeeb8994d5896d2eba
Author: Alex Hornung <ahornung at gmail.com>
Date:   Tue Mar 29 10:06:29 2011 +0100

    devfs - Change setattr code to use vop_helper fns
    
    * Change the devfs vop_setattr to use the vop_helper functions for chown
      and chmod.
    
    * This gets rid of the previous roll-your-own solution and fixes several
      edge cases.
    
    * It also fixes a warning thrown by xterm when closing it.
    
    Reported-by: luxh

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8171e09990c09bf13dbc9baeeb8994d5896d2eba


-- 
DragonFly BSD source repository





More information about the Commits mailing list