OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: David Krause (openbsddavidkrause.com)
Date: Fri Feb 23 2001 - 20:09:12 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    There is a missing pointer in sys/ufs/ufs/inode.h. It broke the sysctl
    compile:

    ===> sbin/sysctl
    cc -O2 -DUVM -DINET6 -c /usr/src/sbin/sysctl/sysctl.c
    In file included from /usr/src/sbin/sysctl/sysctl.c:93:
    /usr/include/ufs/ufs/inode.h:85: field `i_ci' has incomplete type
    *** Error code 1

    Here is a patch:

    - struct cluster_info i_ci;
    + struct cluster_info *i_ci;

    David

    * Constantine Sapuntzakis <csapuntzcvs.openbsd.org> [010223 08:44]:
    > CVSROOT: /cvs
    > Module name: src
    > Changes by: csapuntzcvs.openbsd.org 2001/02/23 07:42:39
    >
    > Modified files:
    > sys/sys : buf.h vnode.h
    > sys/adosfs : advnops.c
    > sys/kern : vfs_subr.c vfs_cluster.c
    > sys/nfs : nfs_bio.c
    > sys/isofs/cd9660: cd9660_vnops.c cd9660_node.h
    > sys/msdosfs : msdosfs_vnops.c denode.h
    > sys/miscfs/specfs: specdev.h spec_vnops.c
    > sys/ufs/ufs : inode.h ufs_readwrite.c
    > sys/ufs/ext2fs : ext2fs_readwrite.c
    > sys/ufs/ffs : ffs_inode.c
    >
    > Log message:
    > Remove the clustering fields from the vnodes and place them in the
    > file system inode instead
    >