summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_extattr.c
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2002-12-14 08:18:06 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2002-12-14 08:18:06 +0000
commitf97182acf8e40abed743e51434374e0a3d4b5139 (patch)
tree5988d4bafee16abb7d4a7d991ebb1155d01b36b9 /sys/kern/vfs_extattr.c
parent1ab4789dc22f6d321649e60d7be40a8d7cde6165 (diff)
Notes
Diffstat (limited to 'sys/kern/vfs_extattr.c')
-rw-r--r--sys/kern/vfs_extattr.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/sys/kern/vfs_extattr.c b/sys/kern/vfs_extattr.c
index 8b49c16c2bcd..e994c812418a 100644
--- a/sys/kern/vfs_extattr.c
+++ b/sys/kern/vfs_extattr.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;