summaryrefslogtreecommitdiffstats
path: root/sys/gnu
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-01-24 13:31:22 +0000
committerphk <phk@FreeBSD.org>2005-01-24 13:31:22 +0000
commitad5a5073b4227ee128d67f971fb9c54554c0405a (patch)
tree1af816e0cd97e04bd83b08f7ccc0ddc86a592581 /sys/gnu
parent85237d203bc9dfe549218c72686a611cff6368b4 (diff)
downloadFreeBSD-src-ad5a5073b4227ee128d67f971fb9c54554c0405a.zip
FreeBSD-src-ad5a5073b4227ee128d67f971fb9c54554c0405a.tar.gz
Remove unused cred argument to ext2_reload()
Diffstat (limited to 'sys/gnu')
-rw-r--r--sys/gnu/ext2fs/ext2_vfsops.c9
-rw-r--r--sys/gnu/fs/ext2fs/ext2_vfsops.c9
2 files changed, 6 insertions, 12 deletions
diff --git a/sys/gnu/ext2fs/ext2_vfsops.c b/sys/gnu/ext2fs/ext2_vfsops.c
index 5db1ef7..cb4e3c8 100644
--- a/sys/gnu/ext2fs/ext2_vfsops.c
+++ b/sys/gnu/ext2fs/ext2_vfsops.c
@@ -64,7 +64,7 @@
static int ext2_flushfiles(struct mount *mp, int flags, struct thread *td);
static int ext2_mountfs(struct vnode *, struct mount *, struct thread *);
-static int ext2_reload(struct mount *mp, struct ucred *cred, struct thread *td);
+static int ext2_reload(struct mount *mp, struct thread *td);
static int ext2_sbupdate(struct ext2mount *, int);
static vfs_unmount_t ext2_unmount;
@@ -175,7 +175,7 @@ ext2_mount(mp, td)
PICKUP_GIANT();
}
if (!error && (mp->mnt_flag & MNT_RELOAD))
- error = ext2_reload(mp, td->td_ucred, td);
+ error = ext2_reload(mp, td);
if (error)
return (error);
devvp = ump->um_devvp;
@@ -488,10 +488,7 @@ static int compute_sb_data(devvp, es, fs)
* 6) re-read inode data for all active vnodes.
*/
static int
-ext2_reload(mp, cred, td)
- struct mount *mp;
- struct ucred *cred;
- struct thread *td;
+ext2_reload(struct mount *mp, struct thread *td)
{
struct vnode *vp, *nvp, *devvp;
struct inode *ip;
diff --git a/sys/gnu/fs/ext2fs/ext2_vfsops.c b/sys/gnu/fs/ext2fs/ext2_vfsops.c
index 5db1ef7..cb4e3c8 100644
--- a/sys/gnu/fs/ext2fs/ext2_vfsops.c
+++ b/sys/gnu/fs/ext2fs/ext2_vfsops.c
@@ -64,7 +64,7 @@
static int ext2_flushfiles(struct mount *mp, int flags, struct thread *td);
static int ext2_mountfs(struct vnode *, struct mount *, struct thread *);
-static int ext2_reload(struct mount *mp, struct ucred *cred, struct thread *td);
+static int ext2_reload(struct mount *mp, struct thread *td);
static int ext2_sbupdate(struct ext2mount *, int);
static vfs_unmount_t ext2_unmount;
@@ -175,7 +175,7 @@ ext2_mount(mp, td)
PICKUP_GIANT();
}
if (!error && (mp->mnt_flag & MNT_RELOAD))
- error = ext2_reload(mp, td->td_ucred, td);
+ error = ext2_reload(mp, td);
if (error)
return (error);
devvp = ump->um_devvp;
@@ -488,10 +488,7 @@ static int compute_sb_data(devvp, es, fs)
* 6) re-read inode data for all active vnodes.
*/
static int
-ext2_reload(mp, cred, td)
- struct mount *mp;
- struct ucred *cred;
- struct thread *td;
+ext2_reload(struct mount *mp, struct thread *td)
{
struct vnode *vp, *nvp, *devvp;
struct inode *ip;
OpenPOWER on IntegriCloud