summaryrefslogtreecommitdiffstats
path: root/sys/fs/ext2fs/ext2_inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/ext2fs/ext2_inode.c')
-rw-r--r--sys/fs/ext2fs/ext2_inode.c32
1 files changed, 7 insertions, 25 deletions
diff --git a/sys/fs/ext2fs/ext2_inode.c b/sys/fs/ext2fs/ext2_inode.c
index fe9b50d..ab09588 100644
--- a/sys/fs/ext2fs/ext2_inode.c
+++ b/sys/fs/ext2fs/ext2_inode.c
@@ -66,9 +66,7 @@ static int ext2_indirtrunc(struct inode *, int32_t, int32_t, int32_t, int,
* set, then wait for the write to complete.
*/
int
-ext2_update(vp, waitfor)
- struct vnode *vp;
- int waitfor;
+ext2_update(struct vnode *vp, int waitfor)
{
struct m_ext2fs *fs;
struct buf *bp;
@@ -108,12 +106,8 @@ ext2_update(vp, waitfor)
* disk blocks.
*/
int
-ext2_truncate(vp, length, flags, cred, td)
- struct vnode *vp;
- off_t length;
- int flags;
- struct ucred *cred;
- struct thread *td;
+ext2_truncate(struct vnode *vp, off_t length, int flags, struct ucred *cred,
+ struct thread *td)
{
struct vnode *ovp = vp;
int32_t lastblock;
@@ -361,12 +355,8 @@ done:
*/
static int
-ext2_indirtrunc(ip, lbn, dbn, lastbn, level, countp)
- struct inode *ip;
- int32_t lbn, lastbn;
- int32_t dbn;
- int level;
- long *countp;
+ext2_indirtrunc(struct inode *ip, int32_t lbn, int32_t dbn, int32_t lastbn,
+ int level, long *countp)
{
struct buf *bp;
struct m_ext2fs *fs = ip->i_e2fs;
@@ -470,11 +460,7 @@ ext2_indirtrunc(ip, lbn, dbn, lastbn, level, countp)
* discard preallocated blocks
*/
int
-ext2_inactive(ap)
- struct vop_inactive_args /* {
- struct vnode *a_vp;
- struct thread *a_td;
- } */ *ap;
+ext2_inactive(struct vop_inactive_args *ap)
{
struct vnode *vp = ap->a_vp;
struct inode *ip = VTOI(vp);
@@ -510,11 +496,7 @@ out:
* Reclaim an inode so that it can be used for other purposes.
*/
int
-ext2_reclaim(ap)
- struct vop_reclaim_args /* {
- struct vnode *a_vp;
- struct thread *a_td;
- } */ *ap;
+ext2_reclaim(struct vop_reclaim_args *ap)
{
struct inode *ip;
struct vnode *vp = ap->a_vp;
OpenPOWER on IntegriCloud