Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144503704
D49166.1775077603.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
645 B
Referenced Files
None
Subscribers
None
D49166.1775077603.diff
View Options
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -5298,7 +5298,7 @@
/*
* Routine to create and manage a filesystem syncer vnode.
*/
-#define sync_close ((int (*)(struct vop_close_args *))nullop)
+static int sync_close(struct vop_close_args *);
static int sync_fsync(struct vop_fsync_args *);
static int sync_inactive(struct vop_inactive_args *);
static int sync_reclaim(struct vop_reclaim_args *);
@@ -5392,6 +5392,12 @@
vrele(vp);
}
+static int
+sync_close(struct vop_close_args *args __unused)
+{
+ return (0);
+}
+
/*
* Do a lazy sync of the filesystem.
*/
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 1, 9:06 PM (10 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28239930
Default Alt Text
D49166.1775077603.diff (645 B)
Attached To
Mode
D49166: vfs_subr.c: fix signature mismatch for close method
Attached
Detach File
Event Timeline
Log In to Comment