Source-Changes-HG archive

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

[src/trunk]: src Make retval argument for pathconf a register_t to match VOP_...



details:   https://anonhg.NetBSD.org/src/rev/8d2fa7e52da1
branches:  trunk
changeset: 755484:8d2fa7e52da1
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Jun 07 11:21:31 2010 +0000

description:
Make retval argument for pathconf a register_t to match VOP_PATHCONF.
This makes the size the same on 64bit archs.  Don't bother bumping
any version, since you'd have explicitly had to jump through some
hoops to use pathconf before.

diffstat:

 lib/libpuffs/puffs.h       |  6 +++---
 sys/fs/puffs/puffs_msgif.h |  4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r bcc8926340ff -r 8d2fa7e52da1 lib/libpuffs/puffs.h
--- a/lib/libpuffs/puffs.h      Mon Jun 07 08:39:04 2010 +0000
+++ b/lib/libpuffs/puffs.h      Mon Jun 07 11:21:31 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: puffs.h,v 1.116 2010/05/21 11:29:42 pooka Exp $        */
+/*     $NetBSD: puffs.h,v 1.117 2010/06/07 11:21:31 pooka Exp $        */
 
 /*
  * Copyright (c) 2005, 2006, 2007  Antti Kantee.  All Rights Reserved.
@@ -216,7 +216,7 @@
        int (*puffs_node_inactive)(struct puffs_usermount *, puffs_cookie_t);
        int (*puffs_node_print)(struct puffs_usermount *, puffs_cookie_t);
        int (*puffs_node_pathconf)(struct puffs_usermount *,
-           puffs_cookie_t, int, int *);
+           puffs_cookie_t, int, register_t *);
        int (*puffs_node_advlock)(struct puffs_usermount *,
            puffs_cookie_t, void *, int, struct flock *, int);
        int (*puffs_node_read)(struct puffs_usermount *, puffs_cookie_t,
@@ -361,7 +361,7 @@
        int fsname##_node_print(struct puffs_usermount *,               \
            puffs_cookie_t);                                            \
        int fsname##_node_pathconf(struct puffs_usermount *,            \
-           puffs_cookie_t, int, int *);                                \
+           puffs_cookie_t, int, register_t *);                         \
        int fsname##_node_advlock(struct puffs_usermount *,             \
            puffs_cookie_t, void *, int, struct flock *, int);          \
        int fsname##_node_read(struct puffs_usermount *, puffs_cookie_t,\
diff -r bcc8926340ff -r 8d2fa7e52da1 sys/fs/puffs/puffs_msgif.h
--- a/sys/fs/puffs/puffs_msgif.h        Mon Jun 07 08:39:04 2010 +0000
+++ b/sys/fs/puffs/puffs_msgif.h        Mon Jun 07 11:21:31 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: puffs_msgif.h,v 1.73 2010/05/21 11:29:42 pooka Exp $   */
+/*     $NetBSD: puffs_msgif.h,v 1.74 2010/06/07 11:21:31 pooka Exp $   */
 
 /*
  * Copyright (c) 2005, 2006, 2007  Antti Kantee.  All Rights Reserved.
@@ -562,7 +562,7 @@
        struct puffs_req        pvn_pr;
 
        int                     pvnr_name;              /* OUT  */
-       int                     pvnr_retval;            /* IN   */
+       register_t              pvnr_retval;            /* IN   */
 };
 
 struct puffs_vnmsg_advlock {



Home | Main Index | Thread Index | Old Index