Module Name:    src
Committed By:   pgoyette
Date:           Fri Jul  3 23:14:11 UTC 2009

Modified Files:
        src/sys/fs/udf: udf_vnops.c

Log Message:
Pass the vp arg to udf_check_possible() so we can access its v_mount
member.

XXX No idea if this is the right solution to this problem, but it does
XXX at least allow thebuild to continue.  The original committed should
XXX verify that this does what was intended!

(Hello again, Elad)


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sys/fs/udf/udf_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/udf/udf_vnops.c
diff -u src/sys/fs/udf/udf_vnops.c:1.48 src/sys/fs/udf/udf_vnops.c:1.49
--- src/sys/fs/udf/udf_vnops.c:1.48	Fri Jul  3 21:17:41 2009
+++ src/sys/fs/udf/udf_vnops.c	Fri Jul  3 23:14:11 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_vnops.c,v 1.48 2009/07/03 21:17:41 elad Exp $ */
+/* $NetBSD: udf_vnops.c,v 1.49 2009/07/03 23:14:11 pgoyette Exp $ */
 
 /*
  * Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -32,7 +32,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: udf_vnops.c,v 1.48 2009/07/03 21:17:41 elad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udf_vnops.c,v 1.49 2009/07/03 23:14:11 pgoyette Exp $");
 #endif /* not lint */
 
 
@@ -1311,7 +1311,7 @@
 /* --------------------------------------------------------------------- */
 
 static int
-udf_check_possible(struct vattr *vap, mode_t mode)
+udf_check_possible(struct vnode *vp, struct vattr *vap, mode_t mode)
 {
 	int flags;
 
@@ -1383,7 +1383,7 @@
 	if (error)
 		return error;
 
-	error = udf_check_possible(&vap, mode);
+	error = udf_check_possible(vp, &vap, mode);
 	if (error)
 		return error;
 

Reply via email to