git: mount_devfs - don't unconditionally clear rules

Alex Hornung alexh at crater.dragonflybsd.org
Sun Nov 21 02:07:07 PST 2010


commit 84dcbb7594edee2f15bdaa91d1ca7de55c6a7d58
Author: Alex Hornung <ahornung at gmail.com>
Date:   Sun Nov 21 10:03:39 2010 +0000

    mount_devfs - don't unconditionally clear rules
    
    * mount_devfs was unconditionally clearing all rules of a mountpoint
      after mounting.
    
    * According to the man page (and my original intentions, I'd presume),
      mount_devfs should only clear the rules of a mountpoint if it was
      already mounted. So fix mount_devfs accordingly.
    
    Dragonfly-bug: http://bugs.dragonflybsd.org/issue1885

Summary of changes:
 sbin/mount_devfs/mount_devfs.c |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/84dcbb7594edee2f15bdaa91d1ca7de55c6a7d58


-- 
DragonFly BSD source repository





More information about the Commits mailing list