git: devfs - Change setattr code to use vop_helper fns
Alex Hornung
alexh at crater.dragonflybsd.org
Tue Mar 29 03:19:17 PDT 2011
commit dffaed1b353f1021277eaf511b1e2f4a3db290a6
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/dffaed1b353f1021277eaf511b1e2f4a3db290a6
--
DragonFly BSD source repository
More information about the Commits
mailing list