svn commit: r207142 - head/sys/ufs/ffs

pluknet pluknet at gmail.com
Mon Apr 26 16:57:07 UTC 2010


On 24 April 2010 11:36, Pawel Jakub Dawidek <pjd at freebsd.org> wrote:
> Author: pjd
> Date: Sat Apr 24 07:36:33 2010
> New Revision: 207142
> URL: http://svn.freebsd.org/changeset/base/207142
>
> Log:
>  Fix build for UFS without SOFTUPDATES.
>
> Modified:
>  head/sys/ufs/ffs/ffs_softdep.c
>
> Modified: head/sys/ufs/ffs/ffs_softdep.c
> ==============================================================================
> --- head/sys/ufs/ffs/ffs_softdep.c      Sat Apr 24 07:05:35 2010        (r207141)
> +++ head/sys/ufs/ffs/ffs_softdep.c      Sat Apr 24 07:36:33 2010        (r207142)
> @@ -232,7 +232,8 @@ softdep_setup_directory_add(bp, dp, diro
>  }
>
>  void
> -softdep_change_directoryentry_offset(dp, base, oldloc, newloc, entrysize)
> +softdep_change_directoryentry_offset(bp, dp, base, oldloc, newloc, entrysize)
> +       struct buf *bp;
>        struct inode *dp;
>        caddr_t base;
>        caddr_t oldloc;

make universe still doesn't pass:
several arm, mips, powerpc configs (defined without SU) are still broken.

The following functions defined only for SU case:
- declared in ffs_extern.h:
int     softdep_complete_trunc(struct vnode *, void *);
void    softdep_unmount(struct mount *);
int     softdep_move_dependencies(struct buf *, struct buf *);
void    softdep_setup_blkfree(struct mount *, struct buf *, ufs2_daddr_t, int,
            struct workhead *);
void    softdep_setup_inofree(struct mount *, struct buf *, ino_t,
            struct workhead *);
void    softdep_setup_sbupdate(struct ufsmount *, struct fs *, struct buf *);
void    *softdep_setup_trunc(struct vnode *vp, off_t length, int flags);
int     softdep_prealloc(struct vnode *, int);
int     softdep_journal_lookup(struct mount *, struct vnode **);

- declared in ufs_extern.h
void    softdep_setup_unlink(struct inode *, struct inode *);
void    softdep_setup_create(struct inode *, struct inode *);
void    softdep_revert_create(struct inode *, struct inode *);
void    softdep_setup_rmdir(struct inode *, struct inode *);
void    softdep_revert_rmdir(struct inode *, struct inode *);
void    softdep_setup_link(struct inode *, struct inode *);
void    softdep_revert_link(struct inode *, struct inode *);
void    softdep_setup_dotdot_link(struct inode *, struct inode *);
void    softdep_setup_mkdir(struct inode *, struct inode *);
void    softdep_revert_mkdir(struct inode *, struct inode *);

Fixing is not obvios for me.
Some of non-SU stub functions return 0, and some of them panic.

-- 
wbr,
pluknet


More information about the svn-src-all mailing list