summaryrefslogtreecommitdiffstats
path: root/sys/gnu
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-01-14 07:33:51 +0000
committerphk <phk@FreeBSD.org>2005-01-14 07:33:51 +0000
commitcc0cbc6b34a1e285642b1061afc3cf87a868e769 (patch)
tree3b4153597257793cdd43415db773d9bd320af39c /sys/gnu
parent4ec986eab3914668211673027bf0160845519a35 (diff)
downloadFreeBSD-src-cc0cbc6b34a1e285642b1061afc3cf87a868e769.zip
FreeBSD-src-cc0cbc6b34a1e285642b1061afc3cf87a868e769.tar.gz
Eliminate unused and unnecessary "cred" argument from vinvalbuf()
Diffstat (limited to 'sys/gnu')
-rw-r--r--sys/gnu/ext2fs/ext2_vfsops.c4
-rw-r--r--sys/gnu/fs/ext2fs/ext2_vfsops.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/gnu/ext2fs/ext2_vfsops.c b/sys/gnu/ext2fs/ext2_vfsops.c
index 9cd8916..5db1ef7 100644
--- a/sys/gnu/ext2fs/ext2_vfsops.c
+++ b/sys/gnu/ext2fs/ext2_vfsops.c
@@ -507,7 +507,7 @@ ext2_reload(mp, cred, td)
*/
devvp = VFSTOEXT2(mp)->um_devvp;
vn_lock(devvp, LK_EXCLUSIVE | LK_RETRY, td);
- if (vinvalbuf(devvp, 0, cred, td, 0, 0) != 0)
+ if (vinvalbuf(devvp, 0, td, 0, 0) != 0)
panic("ext2_reload: dirty1");
VOP_UNLOCK(devvp, 0, td);
@@ -557,7 +557,7 @@ loop:
if (vget(vp, LK_EXCLUSIVE | LK_INTERLOCK, td)) {
goto loop;
}
- if (vinvalbuf(vp, 0, cred, td, 0, 0))
+ if (vinvalbuf(vp, 0, td, 0, 0))
panic("ext2_reload: dirty2");
/*
* Step 6: re-read inode data for all active vnodes.
diff --git a/sys/gnu/fs/ext2fs/ext2_vfsops.c b/sys/gnu/fs/ext2fs/ext2_vfsops.c
index 9cd8916..5db1ef7 100644
--- a/sys/gnu/fs/ext2fs/ext2_vfsops.c
+++ b/sys/gnu/fs/ext2fs/ext2_vfsops.c
@@ -507,7 +507,7 @@ ext2_reload(mp, cred, td)
*/
devvp = VFSTOEXT2(mp)->um_devvp;
vn_lock(devvp, LK_EXCLUSIVE | LK_RETRY, td);
- if (vinvalbuf(devvp, 0, cred, td, 0, 0) != 0)
+ if (vinvalbuf(devvp, 0, td, 0, 0) != 0)
panic("ext2_reload: dirty1");
VOP_UNLOCK(devvp, 0, td);
@@ -557,7 +557,7 @@ loop:
if (vget(vp, LK_EXCLUSIVE | LK_INTERLOCK, td)) {
goto loop;
}
- if (vinvalbuf(vp, 0, cred, td, 0, 0))
+ if (vinvalbuf(vp, 0, td, 0, 0))
panic("ext2_reload: dirty2");
/*
* Step 6: re-read inode data for all active vnodes.
OpenPOWER on IntegriCloud