Module Name:    src
Committed By:   mlelstv
Date:           Sun Dec 11 11:31:55 UTC 2022

Modified Files:
        src/sys/fs/autofs: autofs_vnops.c

Log Message:
Use genfs_pathconf for VOP_PATHCONF.
Fixes bin/57103.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/fs/autofs/autofs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/fs/autofs/autofs_vnops.c
diff -u src/sys/fs/autofs/autofs_vnops.c:1.7 src/sys/fs/autofs/autofs_vnops.c:1.8
--- src/sys/fs/autofs/autofs_vnops.c:1.7	Tue Jun 29 22:34:06 2021
+++ src/sys/fs/autofs/autofs_vnops.c	Sun Dec 11 11:31:55 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: autofs_vnops.c,v 1.7 2021/06/29 22:34:06 dholland Exp $	*/
+/*	$NetBSD: autofs_vnops.c,v 1.8 2022/12/11 11:31:55 mlelstv Exp $	*/
 /*-
  * Copyright (c) 2017 The NetBSD Foundation, Inc.
  * Copyright (c) 2016 The DragonFly Project
@@ -34,7 +34,7 @@
  *
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autofs_vnops.c,v 1.7 2021/06/29 22:34:06 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autofs_vnops.c,v 1.8 2022/12/11 11:31:55 mlelstv Exp $");
 
 #include "autofs.h"
 
@@ -604,6 +604,7 @@ static const struct vnodeopv_entry_desc 
 	{ &vop_islocked_desc,	genfs_islocked },
 	{ &vop_getpages_desc,	genfs_getpages },
 	{ &vop_putpages_desc,	genfs_putpages },
+	{ &vop_pathconf_desc,	genfs_pathconf },
 	{ NULL, NULL }
 };
 

Reply via email to