Module Name:    src
Committed By:   dholland
Date:           Thu Jun  6 00:52:14 UTC 2013

Modified Files:
        src/sys/ufs/lfs: lfs.h ulfs_extern.h ulfs_vfsops.c

Log Message:
Fix some exposed symbols:
   LOSTFOUNDINO -> LFS_LOSTFOUNDINO
   struct ufid -> struct ulfs_ufid


To generate a diff of this commit:
cvs rdiff -u -r1.140 -r1.141 src/sys/ufs/lfs/lfs.h
cvs rdiff -u -r1.4 -r1.5 src/sys/ufs/lfs/ulfs_extern.h
cvs rdiff -u -r1.6 -r1.7 src/sys/ufs/lfs/ulfs_vfsops.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/ufs/lfs/lfs.h
diff -u src/sys/ufs/lfs/lfs.h:1.140 src/sys/ufs/lfs/lfs.h:1.141
--- src/sys/ufs/lfs/lfs.h:1.140	Thu Jun  6 00:51:50 2013
+++ src/sys/ufs/lfs/lfs.h	Thu Jun  6 00:52:14 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: lfs.h,v 1.140 2013/06/06 00:51:50 dholland Exp $	*/
+/*	$NetBSD: lfs.h,v 1.141 2013/06/06 00:52:14 dholland Exp $	*/
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2002, 2003 The NetBSD Foundation, Inc.
@@ -85,7 +85,7 @@
 #define	LFS_UNUSED_INUM	0		/* 0: out of band inode number */
 #define	LFS_IFILE_INUM	1		/* 1: IFILE inode number */
 					/* 2: Root inode number */
-#define	LOSTFOUNDINO	3		/* 3: lost+found inode number */
+#define	LFS_LOSTFOUNDINO 3		/* 3: lost+found inode number */
 #define	LFS_FIRST_INUM	4		/* 4: first free inode number */
 
 #define	LFS_V1_SUMMARY_SIZE	512     /* V1 fixed summary size */
@@ -297,7 +297,7 @@ extern struct lfs_log_entry lfs_log[LFS_
 
 #ifdef _KERNEL
 /* This overlays the fid structure (see fstypes.h). */
-struct ufid {
+struct ulfs_ufid {
 	u_int16_t ufid_len;	/* Length of structure. */
 	u_int16_t ufid_pad;	/* Force 32-bit alignment. */
 	u_int32_t ufid_ino;	/* File number (ino). */
@@ -305,7 +305,7 @@ struct ufid {
 };
 /* Filehandle structure for exported LFSes */
 struct lfid {
-	struct ufid lfid_ufid;
+	struct ulfs_ufid lfid_ufid;
 #define lfid_len lfid_ufid.ufid_len
 #define lfid_ino lfid_ufid.ufid_ino
 #define lfid_gen lfid_ufid.ufid_gen

Index: src/sys/ufs/lfs/ulfs_extern.h
diff -u src/sys/ufs/lfs/ulfs_extern.h:1.4 src/sys/ufs/lfs/ulfs_extern.h:1.5
--- src/sys/ufs/lfs/ulfs_extern.h:1.4	Thu Jun  6 00:50:51 2013
+++ src/sys/ufs/lfs/ulfs_extern.h	Thu Jun  6 00:52:14 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: ulfs_extern.h,v 1.4 2013/06/06 00:50:51 dholland Exp $	*/
+/*	$NetBSD: ulfs_extern.h,v 1.5 2013/06/06 00:52:14 dholland Exp $	*/
 /*  from NetBSD: ufs_extern.h,v 1.72 2012/05/09 00:21:18 riastradh Exp  */
 
 /*-
@@ -50,7 +50,7 @@ struct mbuf;
 struct mount;
 struct nameidata;
 struct lwp;
-struct ufid;
+struct ulfs_ufid;
 struct ulfs_args;
 struct ulfs_lookup_results;
 struct ulfsmount;
@@ -190,7 +190,7 @@ void	ulfs_done(void);
 int	ulfs_start(struct mount *, int);
 int	ulfs_root(struct mount *, struct vnode **);
 int	ulfs_quotactl(struct mount *, struct quotactl_args *);
-int	ulfs_fhtovp(struct mount *, struct ufid *, struct vnode **);
+int	ulfs_fhtovp(struct mount *, struct ulfs_ufid *, struct vnode **);
 
 /* ulfs_vnops.c */
 void	ulfs_vinit(struct mount *, int (**)(void *),

Index: src/sys/ufs/lfs/ulfs_vfsops.c
diff -u src/sys/ufs/lfs/ulfs_vfsops.c:1.6 src/sys/ufs/lfs/ulfs_vfsops.c:1.7
--- src/sys/ufs/lfs/ulfs_vfsops.c:1.6	Thu Jun  6 00:51:50 2013
+++ src/sys/ufs/lfs/ulfs_vfsops.c	Thu Jun  6 00:52:14 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: ulfs_vfsops.c,v 1.6 2013/06/06 00:51:50 dholland Exp $	*/
+/*	$NetBSD: ulfs_vfsops.c,v 1.7 2013/06/06 00:52:14 dholland Exp $	*/
 /*  from NetBSD: ufs_vfsops.c,v 1.52 2013/01/22 09:39:18 dholland Exp  */
 
 /*
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ulfs_vfsops.c,v 1.6 2013/06/06 00:51:50 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ulfs_vfsops.c,v 1.7 2013/06/06 00:52:14 dholland Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_lfs.h"
@@ -214,7 +214,7 @@ ulfs_quotactl(struct mount *mp, struct q
  * filesystem has validated the file handle.
  */
 int
-ulfs_fhtovp(struct mount *mp, struct ufid *ufhp, struct vnode **vpp)
+ulfs_fhtovp(struct mount *mp, struct ulfs_ufid *ufhp, struct vnode **vpp)
 {
 	struct vnode *nvp;
 	struct inode *ip;

Reply via email to