Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111608801
D31640.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D31640.diff
View Options
diff --git a/sys/kern/vfs_default.c b/sys/kern/vfs_default.c
--- a/sys/kern/vfs_default.c
+++ b/sys/kern/vfs_default.c
@@ -93,7 +93,6 @@
static int vop_stdread_pgcache(struct vop_read_pgcache_args *ap);
static int vop_stdstat(struct vop_stat_args *ap);
static int vop_stdvput_pair(struct vop_vput_pair_args *ap);
-static int vop_stddeallocate(struct vop_deallocate_args *ap);
/*
* This vnode table stores what we want to do if the filesystem doesn't
@@ -1126,7 +1125,7 @@
return (error);
}
-static int
+int
vop_stddeallocate(struct vop_deallocate_args *ap)
{
struct vnode *vp;
diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -861,6 +861,7 @@
int vop_stdadvlockasync(struct vop_advlockasync_args *ap);
int vop_stdadvlockpurge(struct vop_advlockpurge_args *ap);
int vop_stdallocate(struct vop_allocate_args *ap);
+int vop_stddeallocate(struct vop_deallocate_args *ap);
int vop_stdset_text(struct vop_set_text_args *ap);
int vop_stdpathconf(struct vop_pathconf_args *);
int vop_stdpoll(struct vop_poll_args *);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 6, 11:20 PM (15 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17021408
Default Alt Text
D31640.diff (1 KB)
Attached To
Mode
D31640: add a nfs_deallocate VOP
Attached
Detach File
Event Timeline
Log In to Comment