summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_syscalls.c
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-12-14 08:18:06 +0000
committeralfred <alfred@FreeBSD.org>2002-12-14 08:18:06 +0000
commit5512694b2561b1ca275008a0533e083483bd8256 (patch)
tree5988d4bafee16abb7d4a7d991ebb1155d01b36b9 /sys/kern/vfs_syscalls.c
parentc366943770e3324b93b9c11b53a443b2a1ecf9a4 (diff)
downloadFreeBSD-src-5512694b2561b1ca275008a0533e083483bd8256.zip
FreeBSD-src-5512694b2561b1ca275008a0533e083483bd8256.tar.gz
unwrap lines made short enough by SCARGS removal
Diffstat (limited to 'sys/kern/vfs_syscalls.c')
-rw-r--r--sys/kern/vfs_syscalls.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c
index 8b49c16..e994c81 100644
--- a/sys/kern/vfs_syscalls.c
+++ b/sys/kern/vfs_syscalls.c
@@ -199,8 +199,7 @@ quotactl(td, uap)
vrele(nd.ni_vp);
if (error)
return (error);
- error = VFS_QUOTACTL(mp, uap->cmd, uap->uid,
- uap->arg, td);
+ error = VFS_QUOTACTL(mp, uap->cmd, uap->uid, uap->arg, td);
vn_finished_write(mp);
return (error);
}
@@ -538,8 +537,7 @@ chroot(td, uap)
error = suser_cred(td->td_ucred, PRISON_ROOT);
if (error)
return (error);
- NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF, UIO_USERSPACE,
- uap->path, td);
+ NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF, UIO_USERSPACE, uap->path, td);
mtx_lock(&Giant);
if ((error = change_dir(&nd, td)) != 0)
goto error;
@@ -2297,8 +2295,7 @@ fchown(td, uap)
if ((error = getvnode(td->td_proc->p_fd, uap->fd, &fp)) != 0)
return (error);
vp = (struct vnode *)fp->f_data;
- error = setfown(td, (struct vnode *)fp->f_data,
- uap->uid, uap->gid);
+ error = setfown(td, (struct vnode *)fp->f_data, uap->uid, uap->gid);
fdrop(fp, td);
return (error);
}
@@ -3355,8 +3352,7 @@ revoke(td, uap)
int error;
struct nameidata nd;
- NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF, UIO_USERSPACE, uap->path,
- td);
+ NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF, UIO_USERSPACE, uap->path, td);
if ((error = namei(&nd)) != 0)
return (error);
vp = nd.ni_vp;
OpenPOWER on IntegriCloud