Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/fs/autofs Use genfs_pathconf for VOP_PATHCONF.



details:   https://anonhg.NetBSD.org/src/rev/195e9c2342f6
branches:  trunk
changeset: 372606:195e9c2342f6
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Sun Dec 11 11:31:55 2022 +0000

description:
Use genfs_pathconf for VOP_PATHCONF.
Fixes bin/57103.

diffstat:

 sys/fs/autofs/autofs_vnops.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 877260a86c2c -r 195e9c2342f6 sys/fs/autofs/autofs_vnops.c
--- a/sys/fs/autofs/autofs_vnops.c      Sun Dec 11 10:02:53 2022 +0000
+++ b/sys/fs/autofs/autofs_vnops.c      Sun Dec 11 11:31:55 2022 +0000
@@ -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 @@
        { &vop_islocked_desc,   genfs_islocked },
        { &vop_getpages_desc,   genfs_getpages },
        { &vop_putpages_desc,   genfs_putpages },
+       { &vop_pathconf_desc,   genfs_pathconf },
        { NULL, NULL }
 };
 



Home | Main Index | Thread Index | Old Index