Fix softdep_request_cleanup difference w/ and w/o SOFTUPDATES

From: Aleksandr Rybalko <ray_at_dlink.ua>
Date: Mon, 28 Mar 2011 13:19:03 +0300
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)
_at__at_ -514,9 +514,10 _at__at_
 }
 
 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>
Received on Mon Mar 28 2011 - 08:19:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:12 UTC