Tue Jul 25 01:29:56 2017 UTC ()
regen for ticket 130


(snj)
diff -r1.104.2.1 -r1.104.2.2 src/sys/kern/vnode_if.c
diff -r1.28.2.1 -r1.28.2.2 src/sys/rump/include/rump/rumpvnode_if.h
diff -r1.28.2.1 -r1.28.2.2 src/sys/rump/librump/rumpvfs/rumpvnode_if.c
diff -r1.99.2.1 -r1.99.2.2 src/sys/sys/vnode_if.h

cvs diff -r1.104.2.1 -r1.104.2.2 src/sys/kern/vnode_if.c (expand / switch to unified diff)

--- src/sys/kern/vnode_if.c 2017/06/04 20:35:01 1.104.2.1
+++ src/sys/kern/vnode_if.c 2017/07/25 01:29:56 1.104.2.2
@@ -1,23 +1,23 @@ @@ -1,23 +1,23 @@
1/* $NetBSD: vnode_if.c,v 1.104.2.1 2017/06/04 20:35:01 bouyer Exp $ */ 1/* $NetBSD: vnode_if.c,v 1.104.2.2 2017/07/25 01:29:56 snj Exp $ */
2 2
3/* 3/*
4 * Warning: DO NOT EDIT! This file is automatically generated! 4 * Warning: DO NOT EDIT! This file is automatically generated!
5 * (Modifications made here may easily be lost!) 5 * (Modifications made here may easily be lost!)
6 * 6 *
7 * Created from the file: 7 * Created from the file:
8 * NetBSD: vnode_if.src,v 1.76 2017/06/04 07:59:17 hannken Exp 8 * NetBSD: vnode_if.src,v 1.75.2.2 2017/07/25 01:29:23 snj Exp
9 * by the script: 9 * by the script:
10 * NetBSD: vnode_if.sh,v 1.66 2017/06/04 08:03:26 hannken Exp 10 * NetBSD: vnode_if.sh,v 1.64.4.1 2017/06/04 20:35:01 bouyer Exp
11 */ 11 */
12 12
13/* 13/*
14 * Copyright (c) 1992, 1993, 1994, 1995 14 * Copyright (c) 1992, 1993, 1994, 1995
15 * The Regents of the University of California. All rights reserved. 15 * The Regents of the University of California. All rights reserved.
16 * 16 *
17 * Redistribution and use in source and binary forms, with or without 17 * Redistribution and use in source and binary forms, with or without
18 * modification, are permitted provided that the following conditions 18 * modification, are permitted provided that the following conditions
19 * are met: 19 * are met:
20 * 1. Redistributions of source code must retain the above copyright 20 * 1. Redistributions of source code must retain the above copyright
21 * notice, this list of conditions and the following disclaimer. 21 * notice, this list of conditions and the following disclaimer.
22 * 2. Redistributions in binary form must reproduce the above copyright 22 * 2. Redistributions in binary form must reproduce the above copyright
23 * notice, this list of conditions and the following disclaimer in the 23 * notice, this list of conditions and the following disclaimer in the
@@ -30,27 +30,27 @@ @@ -30,27 +30,27 @@
30 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 30 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
31 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 31 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
32 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 32 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
33 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 33 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
34 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 34 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
35 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 35 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
36 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 36 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
37 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 37 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
38 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 38 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
39 * SUCH DAMAGE. 39 * SUCH DAMAGE.
40 */ 40 */
41 41
42#include <sys/cdefs.h> 42#include <sys/cdefs.h>
43__KERNEL_RCSID(0, "$NetBSD: vnode_if.c,v 1.104.2.1 2017/06/04 20:35:01 bouyer Exp $"); 43__KERNEL_RCSID(0, "$NetBSD: vnode_if.c,v 1.104.2.2 2017/07/25 01:29:56 snj Exp $");
44 44
45#include <sys/param.h> 45#include <sys/param.h>
46#include <sys/mount.h> 46#include <sys/mount.h>
47#include <sys/buf.h> 47#include <sys/buf.h>
48#include <sys/vnode.h> 48#include <sys/vnode.h>
49#include <sys/lock.h> 49#include <sys/lock.h>
50#include <sys/fstrans.h> 50#include <sys/fstrans.h>
51 51
52enum fst_op { FST_NO, FST_YES, FST_TRY }; 52enum fst_op { FST_NO, FST_YES, FST_TRY };
53 53
54static inline int 54static inline int
55vop_pre(vnode_t *vp, struct mount **mp, bool *mpsafe, enum fst_op op) 55vop_pre(vnode_t *vp, struct mount **mp, bool *mpsafe, enum fst_op op)
56{ 56{
@@ -1500,31 +1500,31 @@ VOP_ADVLOCK(struct vnode *vp, @@ -1500,31 +1500,31 @@ VOP_ADVLOCK(struct vnode *vp,
1500 struct flock *fl, 1500 struct flock *fl,
1501 int flags) 1501 int flags)
1502{ 1502{
1503 int error; 1503 int error;
1504 bool mpsafe; 1504 bool mpsafe;
1505 struct vop_advlock_args a; 1505 struct vop_advlock_args a;
1506 struct mount *mp; 1506 struct mount *mp;
1507 a.a_desc = VDESC(vop_advlock); 1507 a.a_desc = VDESC(vop_advlock);
1508 a.a_vp = vp; 1508 a.a_vp = vp;
1509 a.a_id = id; 1509 a.a_id = id;
1510 a.a_op = op; 1510 a.a_op = op;
1511 a.a_fl = fl; 1511 a.a_fl = fl;
1512 a.a_flags = flags; 1512 a.a_flags = flags;
1513 error = vop_pre(vp, &mp, &mpsafe, FST_YES); 1513 error = vop_pre(vp, &mp, &mpsafe, FST_NO);
1514 if (error) 1514 if (error)
1515 return error; 1515 return error;
1516 error = (VCALL(vp, VOFFSET(vop_advlock), &a)); 1516 error = (VCALL(vp, VOFFSET(vop_advlock), &a));
1517 vop_post(vp, mp, mpsafe, FST_YES); 1517 vop_post(vp, mp, mpsafe, FST_NO);
1518 return error; 1518 return error;
1519} 1519}
1520 1520
1521const int vop_whiteout_vp_offsets[] = { 1521const int vop_whiteout_vp_offsets[] = {
1522 VOPARG_OFFSETOF(struct vop_whiteout_args,a_dvp), 1522 VOPARG_OFFSETOF(struct vop_whiteout_args,a_dvp),
1523 VDESC_NO_OFFSET 1523 VDESC_NO_OFFSET
1524}; 1524};
1525const struct vnodeop_desc vop_whiteout_desc = { 1525const struct vnodeop_desc vop_whiteout_desc = {
1526 VOP_WHITEOUT_DESCOFFSET, 1526 VOP_WHITEOUT_DESCOFFSET,
1527 "vop_whiteout", 1527 "vop_whiteout",
1528 0, 1528 0,
1529 vop_whiteout_vp_offsets, 1529 vop_whiteout_vp_offsets,
1530 VDESC_NO_OFFSET, 1530 VDESC_NO_OFFSET,

cvs diff -r1.28.2.1 -r1.28.2.2 src/sys/rump/include/rump/rumpvnode_if.h (expand / switch to unified diff)

--- src/sys/rump/include/rump/rumpvnode_if.h 2017/06/04 20:35:01 1.28.2.1
+++ src/sys/rump/include/rump/rumpvnode_if.h 2017/07/25 01:29:56 1.28.2.2
@@ -1,23 +1,23 @@ @@ -1,23 +1,23 @@
1/* $NetBSD: rumpvnode_if.h,v 1.28.2.1 2017/06/04 20:35:01 bouyer Exp $ */ 1/* $NetBSD: rumpvnode_if.h,v 1.28.2.2 2017/07/25 01:29:56 snj Exp $ */
2 2
3/* 3/*
4 * Warning: DO NOT EDIT! This file is automatically generated! 4 * Warning: DO NOT EDIT! This file is automatically generated!
5 * (Modifications made here may easily be lost!) 5 * (Modifications made here may easily be lost!)
6 * 6 *
7 * Created from the file: 7 * Created from the file:
8 * NetBSD: vnode_if.src,v 1.76 2017/06/04 07:59:17 hannken Exp 8 * NetBSD: vnode_if.src,v 1.75.2.2 2017/07/25 01:29:23 snj Exp
9 * by the script: 9 * by the script:
10 * NetBSD: vnode_if.sh,v 1.66 2017/06/04 08:03:26 hannken Exp 10 * NetBSD: vnode_if.sh,v 1.64.4.1 2017/06/04 20:35:01 bouyer Exp
11 */ 11 */
12 12
13/* 13/*
14 * Copyright (c) 1992, 1993, 1994, 1995 14 * Copyright (c) 1992, 1993, 1994, 1995
15 * The Regents of the University of California. All rights reserved. 15 * The Regents of the University of California. All rights reserved.
16 * 16 *
17 * Redistribution and use in source and binary forms, with or without 17 * Redistribution and use in source and binary forms, with or without
18 * modification, are permitted provided that the following conditions 18 * modification, are permitted provided that the following conditions
19 * are met: 19 * are met:
20 * 1. Redistributions of source code must retain the above copyright 20 * 1. Redistributions of source code must retain the above copyright
21 * notice, this list of conditions and the following disclaimer. 21 * notice, this list of conditions and the following disclaimer.
22 * 2. Redistributions in binary form must reproduce the above copyright 22 * 2. Redistributions in binary form must reproduce the above copyright
23 * notice, this list of conditions and the following disclaimer in the 23 * notice, this list of conditions and the following disclaimer in the

cvs diff -r1.28.2.1 -r1.28.2.2 src/sys/rump/librump/rumpvfs/rumpvnode_if.c (expand / switch to unified diff)

--- src/sys/rump/librump/rumpvfs/rumpvnode_if.c 2017/06/04 20:35:01 1.28.2.1
+++ src/sys/rump/librump/rumpvfs/rumpvnode_if.c 2017/07/25 01:29:56 1.28.2.2
@@ -1,23 +1,23 @@ @@ -1,23 +1,23 @@
1/* $NetBSD: rumpvnode_if.c,v 1.28.2.1 2017/06/04 20:35:01 bouyer Exp $ */ 1/* $NetBSD: rumpvnode_if.c,v 1.28.2.2 2017/07/25 01:29:56 snj Exp $ */
2 2
3/* 3/*
4 * Warning: DO NOT EDIT! This file is automatically generated! 4 * Warning: DO NOT EDIT! This file is automatically generated!
5 * (Modifications made here may easily be lost!) 5 * (Modifications made here may easily be lost!)
6 * 6 *
7 * Created from the file: 7 * Created from the file:
8 * NetBSD: vnode_if.src,v 1.76 2017/06/04 07:59:17 hannken Exp 8 * NetBSD: vnode_if.src,v 1.75.2.2 2017/07/25 01:29:23 snj Exp
9 * by the script: 9 * by the script:
10 * NetBSD: vnode_if.sh,v 1.66 2017/06/04 08:03:26 hannken Exp 10 * NetBSD: vnode_if.sh,v 1.64.4.1 2017/06/04 20:35:01 bouyer Exp
11 */ 11 */
12 12
13/* 13/*
14 * Copyright (c) 1992, 1993, 1994, 1995 14 * Copyright (c) 1992, 1993, 1994, 1995
15 * The Regents of the University of California. All rights reserved. 15 * The Regents of the University of California. All rights reserved.
16 * 16 *
17 * Redistribution and use in source and binary forms, with or without 17 * Redistribution and use in source and binary forms, with or without
18 * modification, are permitted provided that the following conditions 18 * modification, are permitted provided that the following conditions
19 * are met: 19 * are met:
20 * 1. Redistributions of source code must retain the above copyright 20 * 1. Redistributions of source code must retain the above copyright
21 * notice, this list of conditions and the following disclaimer. 21 * notice, this list of conditions and the following disclaimer.
22 * 2. Redistributions in binary form must reproduce the above copyright 22 * 2. Redistributions in binary form must reproduce the above copyright
23 * notice, this list of conditions and the following disclaimer in the 23 * notice, this list of conditions and the following disclaimer in the
@@ -30,27 +30,27 @@ @@ -30,27 +30,27 @@
30 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 30 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
31 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 31 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
32 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 32 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
33 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 33 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
34 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 34 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
35 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 35 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
36 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 36 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
37 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 37 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
38 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 38 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
39 * SUCH DAMAGE. 39 * SUCH DAMAGE.
40 */ 40 */
41 41
42#include <sys/cdefs.h> 42#include <sys/cdefs.h>
43__KERNEL_RCSID(0, "$NetBSD: rumpvnode_if.c,v 1.28.2.1 2017/06/04 20:35:01 bouyer Exp $"); 43__KERNEL_RCSID(0, "$NetBSD: rumpvnode_if.c,v 1.28.2.2 2017/07/25 01:29:56 snj Exp $");
44 44
45#include <sys/param.h> 45#include <sys/param.h>
46#include <sys/mount.h> 46#include <sys/mount.h>
47#include <sys/buf.h> 47#include <sys/buf.h>
48#include <sys/vnode.h> 48#include <sys/vnode.h>
49#include <sys/lock.h> 49#include <sys/lock.h>
50#include <rump/rumpvnode_if.h> 50#include <rump/rumpvnode_if.h>
51#include <rump-sys/kern.h> 51#include <rump-sys/kern.h>
52 52
53int 53int
54RUMP_VOP_BWRITE(struct vnode *vp, 54RUMP_VOP_BWRITE(struct vnode *vp,
55 struct buf *bp) 55 struct buf *bp)
56{ 56{

cvs diff -r1.99.2.1 -r1.99.2.2 src/sys/sys/vnode_if.h (expand / switch to unified diff)

--- src/sys/sys/vnode_if.h 2017/06/04 20:35:01 1.99.2.1
+++ src/sys/sys/vnode_if.h 2017/07/25 01:29:56 1.99.2.2
@@ -1,23 +1,23 @@ @@ -1,23 +1,23 @@
1/* $NetBSD: vnode_if.h,v 1.99.2.1 2017/06/04 20:35:01 bouyer Exp $ */ 1/* $NetBSD: vnode_if.h,v 1.99.2.2 2017/07/25 01:29:56 snj Exp $ */
2 2
3/* 3/*
4 * Warning: DO NOT EDIT! This file is automatically generated! 4 * Warning: DO NOT EDIT! This file is automatically generated!
5 * (Modifications made here may easily be lost!) 5 * (Modifications made here may easily be lost!)
6 * 6 *
7 * Created from the file: 7 * Created from the file:
8 * NetBSD: vnode_if.src,v 1.76 2017/06/04 07:59:17 hannken Exp 8 * NetBSD: vnode_if.src,v 1.75.2.2 2017/07/25 01:29:23 snj Exp
9 * by the script: 9 * by the script:
10 * NetBSD: vnode_if.sh,v 1.66 2017/06/04 08:03:26 hannken Exp 10 * NetBSD: vnode_if.sh,v 1.64.4.1 2017/06/04 20:35:01 bouyer Exp
11 */ 11 */
12 12
13/* 13/*
14 * Copyright (c) 1992, 1993, 1994, 1995 14 * Copyright (c) 1992, 1993, 1994, 1995
15 * The Regents of the University of California. All rights reserved. 15 * The Regents of the University of California. All rights reserved.
16 * 16 *
17 * Redistribution and use in source and binary forms, with or without 17 * Redistribution and use in source and binary forms, with or without
18 * modification, are permitted provided that the following conditions 18 * modification, are permitted provided that the following conditions
19 * are met: 19 * are met:
20 * 1. Redistributions of source code must retain the above copyright 20 * 1. Redistributions of source code must retain the above copyright
21 * notice, this list of conditions and the following disclaimer. 21 * notice, this list of conditions and the following disclaimer.
22 * 2. Redistributions in binary form must reproduce the above copyright 22 * 2. Redistributions in binary form must reproduce the above copyright
23 * notice, this list of conditions and the following disclaimer in the 23 * notice, this list of conditions and the following disclaimer in the