mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Clean up warning about undeclared function by declaring softdep_fsync
in mount.h instead of ffs_extern.h. The correct solution is to use an indirect function pointer so that the kernel does not have to be built with options FFS, but that will be left for another day.
This commit is contained in:
parent
7978f67e28
commit
d4c1816924
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=62968
@ -456,7 +456,9 @@ int vfs_stduninit __P((struct vfsconf *));
|
||||
int vfs_stdextattrctl __P((struct mount *mp, int cmd, const char *attrname,
|
||||
caddr_t arg, struct proc *p));
|
||||
|
||||
/* XXX - these should be indirect functions!!! */
|
||||
int softdep_process_worklist __P((struct mount *));
|
||||
int softdep_fsync __P((struct vnode *));
|
||||
#else /* !_KERNEL */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
@ -125,6 +125,9 @@ void softdep_setup_allocindir_page __P((struct inode *, ufs_lbn_t,
|
||||
struct buf *, int, ufs_daddr_t, ufs_daddr_t, struct buf *));
|
||||
void softdep_fsync_mountdev __P((struct vnode *));
|
||||
int softdep_sync_metadata __P((struct vop_fsync_args *));
|
||||
/* XXX incorrectly moved to mount.h - should be indirect function */
|
||||
#if 0
|
||||
int softdep_fsync __P((struct vnode *vp));
|
||||
#endif
|
||||
|
||||
#endif /* !_UFS_FFS_EXTERN_H */
|
||||
|
Loading…
Reference in New Issue
Block a user