diff options
author | kib <kib@FreeBSD.org> | 2007-06-01 14:33:11 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2007-06-01 14:33:11 +0000 |
commit | 17260ba6f1fe4f1f853e1660c3c55dce5eb30f83 (patch) | |
tree | 1977c9c1875b36aa303327d67bf46167ab478c50 /sys/gnu/fs/reiserfs/reiserfs_vfsops.c | |
parent | e62312b69263d9a3edcc6deaf63ed19f723df1f4 (diff) | |
download | FreeBSD-src-17260ba6f1fe4f1f853e1660c3c55dce5eb30f83.zip FreeBSD-src-17260ba6f1fe4f1f853e1660c3c55dce5eb30f83.tar.gz |
Change the VOP_OPEN(), vn_open() vnode operation and d_fdopen() cdev operation
argument from being file descriptor index into the pointer to struct file:
part 2. Convert calls missed in the first big commit.
Noted by: rwatson
Pointy hat to: kib
Diffstat (limited to 'sys/gnu/fs/reiserfs/reiserfs_vfsops.c')
-rw-r--r-- | sys/gnu/fs/reiserfs/reiserfs_vfsops.c | 2 |
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 e947379..ebfa6e5 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); |