Fix softdep_request_cleanup difference w/ and w/o SOFTUPDATES
Aleksandr Rybalko
ray at dlink.ua
Mon Mar 28 10:19:11 UTC 2011
Hi,
I found a difference of definition softdep_request_cleanup.
when SOFTUPDATES undefined softdep_request_cleanup take only two arguments.
Patch to fix this:
Index: sys/ufs/ffs/ffs_softdep.c
===================================================================
--- sys/ufs/ffs/ffs_softdep.c (revision 220095)
+++ sys/ufs/ffs/ffs_softdep.c (working copy)
@@ -514,9 +514,10 @@
}
int
-softdep_request_cleanup(fs, vp)
+softdep_request_cleanup(fs, vp, resource)
struct fs *fs;
struct vnode *vp;
+ int resource;
{
return (0);
--
Alexandr Rybalko <ray at dlink.ua>
aka Alex RAY <ray at ddteam.net>
More information about the freebsd-current
mailing list