summaryrefslogtreecommitdiff
path: root/sys/gnu
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2007-06-01 14:33:11 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2007-06-01 14:33:11 +0000
commit7a31868ed046c0ad6bb5dff5e663063750135cbb (patch)
tree1977c9c1875b36aa303327d67bf46167ab478c50 /sys/gnu
parente1070b644c68d06c25c1120b643e17ab311b34fe (diff)
Notes
Diffstat (limited to 'sys/gnu')
-rw-r--r--sys/gnu/fs/reiserfs/reiserfs_vfsops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/gnu/fs/reiserfs/reiserfs_vfsops.c b/sys/gnu/fs/reiserfs/reiserfs_vfsops.c
index e947379a64bb..ebfa6e5b0a11 100644
--- a/sys/gnu/fs/reiserfs/reiserfs_vfsops.c
+++ b/sys/gnu/fs/reiserfs/reiserfs_vfsops.c
@@ -457,7 +457,7 @@ reiserfs_mountfs(struct vnode *devvp, struct mount *mp, struct thread *td)
* Open the device in read-only, 'cause we don't support write
* for now
*/
- error = VOP_OPEN(devvp, FREAD, FSCRED, td, -1);
+ error = VOP_OPEN(devvp, FREAD, FSCRED, td, NULL);
VOP_UNLOCK(devvp, 0, td);
if (error)
return (error);