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

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 23 Sep 2010 12:56:10 -0700 (PDT)

commit 80ae59d743aefff156647314294a31c6c5761b5f
Author: Matthew Dillon <dillon@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@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



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