git: kernel - Add kqueue and fix chflags handling for tmpfs

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Sep 23 12:56:32 PDT 2010


commit 80ae59d743aefff156647314294a31c6c5761b5f
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Sep 23 12:53:47 2010 -0700

    kernel - Add kqueue and fix chflags handling for tmpfs
    
    * Implement kqueue ops for tmpfs so things like tail -f work properly.
    
    * Redo all the chflags handling and checks to use the helper functions,
      also getting ridding of the horribly broken FREAD/FWRITE tests on
      node->tn_flags (which is the chflags flags, not the open flags).
    
      This fixes chflags handling for tmpfs.  Previously doing something
      like 'make installkernel ... DESTDIR=<sometmpfs_target>' would fail
      on re-install due to chflags not working properly.
    
    * Fix a lost node unlock in tmpfs_chflags()
    
    Reported-by: Nuno Antunes <nuno.antunes at gmail.com>

Summary of changes:
 sys/vfs/tmpfs/tmpfs_subr.c  |  162 ++++++++++---------------------------------
 sys/vfs/tmpfs/tmpfs_vnops.c |  163 ++++++++++++++++++++++++++++++++++++++++---
 2 files changed, 190 insertions(+), 135 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/80ae59d743aefff156647314294a31c6c5761b5f


-- 
DragonFly BSD source repository





More information about the Commits mailing list