git: 8b09e4b98e96 - stable/13 - syncer vnode: add VOP_GETWRITEMOUNT() definition explicitly

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Tue, 25 Apr 2023 00:38:21 UTC
The branch stable/13 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=8b09e4b98e96256c7fa35145f06a51a96bf49c98

commit 8b09e4b98e96256c7fa35145f06a51a96bf49c98
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-04-16 17:04:53 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-04-25 00:27:27 +0000

    syncer vnode: add VOP_GETWRITEMOUNT() definition explicitly
    
    (cherry picked from commit 7aeea73e30789c8987fbfa52cde93bab577bbc09)
---
 sys/kern/vfs_subr.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 672000ded079..ff5b4822316f 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -5063,6 +5063,7 @@ static struct vop_vector sync_vnodeops = {
 	.vop_bypass =	VOP_EOPNOTSUPP,
 	.vop_close =	sync_close,		/* close */
 	.vop_fsync =	sync_fsync,		/* fsync */
+	.vop_getwritemount = vop_stdgetwritemount,
 	.vop_inactive =	sync_inactive,	/* inactive */
 	.vop_need_inactive = vop_stdneed_inactive, /* need_inactive */
 	.vop_reclaim =	sync_reclaim,	/* reclaim */