Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Mar 2011 13:19:03 +0300
From:      Aleksandr Rybalko <ray@dlink.ua>
To:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Fix softdep_request_cleanup difference w/ and w/o SOFTUPDATES
Message-ID:  <20110328131903.6bf2bc62.ray@dlink.ua>

next in thread | raw e-mail | index | archive | help
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@dlink.ua> 
aka Alex RAY <ray@ddteam.net>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110328131903.6bf2bc62.ray>