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

看板DFBSD_commit作者時間15年前 (2010/09/24 04:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1Ccx83Qz (DFBSD_commit)