summaryrefslogtreecommitdiff
path: root/sys/msdosfs/msdosfs_vfsops.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2011-07-04 04:30:42 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2011-07-04 04:30:42 +0000
commit6558208a6b4fc7625013eefd861685b315297077 (patch)
tree8fc25d47f546d697f926de0c28d92fbbbcd07d3f /sys/msdosfs/msdosfs_vfsops.c
parentef5f1b83a6551f7b66a6fb3c9960750efe43882a (diff)
bread does nothing with its ucred argument. remove it. ok matthew
Diffstat (limited to 'sys/msdosfs/msdosfs_vfsops.c')
-rw-r--r--sys/msdosfs/msdosfs_vfsops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/msdosfs/msdosfs_vfsops.c b/sys/msdosfs/msdosfs_vfsops.c
index d5412e3df9b..0591459e0e0 100644
--- a/sys/msdosfs/msdosfs_vfsops.c
+++ b/sys/msdosfs/msdosfs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: msdosfs_vfsops.c,v 1.59 2010/11/17 12:27:03 jsing Exp $ */
+/* $OpenBSD: msdosfs_vfsops.c,v 1.60 2011/07/04 04:30:41 tedu Exp $ */
/* $NetBSD: msdosfs_vfsops.c,v 1.48 1997/10/18 02:54:57 briggs Exp $ */
/*-
@@ -308,7 +308,7 @@ msdosfs_mountfs(struct vnode *devvp, struct mount *mp, struct proc *p,
* Read the boot sector of the filesystem, and then check the
* boot signature. If not a dos boot sector then error out.
*/
- if ((error = bread(devvp, 0, 4096, NOCRED, &bp)) != 0)
+ if ((error = bread(devvp, 0, 4096, &bp)) != 0)
goto error_exit;
bp->b_flags |= B_AGE;
bsp = (union bootsector *)bp->b_data;
@@ -485,7 +485,7 @@ msdosfs_mountfs(struct vnode *devvp, struct mount *mp, struct proc *p,
struct fsinfo *fp;
if ((error = bread(devvp, pmp->pm_fsinfo, fsi_size(pmp),
- NOCRED, &bp)) != 0)
+ &bp)) != 0)
goto error_exit;
fp = (struct fsinfo *)bp->b_data;
if (!bcmp(fp->fsisig1, "RRaA", 4)