diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 08:16:23 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 08:16:23 +0000 |
commit | c86f0c7a71e7ade3e38b325c186a9cf374e0411e (patch) | |
tree | 176f04f674860c7cfae9ac5d2ff4d4e1d73cb2b7 /sys/fs/unionfs/union_vfsops.c | |
parent | 423ba8f9bc23d93bfc244aca9b12563b1c9de90d (diff) | |
download | FreeBSD-src-c86f0c7a71e7ade3e38b325c186a9cf374e0411e.zip FreeBSD-src-c86f0c7a71e7ade3e38b325c186a9cf374e0411e.tar.gz |
Remove trailing whitespace.
Diffstat (limited to 'sys/fs/unionfs/union_vfsops.c')
-rw-r--r-- | sys/fs/unionfs/union_vfsops.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/fs/unionfs/union_vfsops.c b/sys/fs/unionfs/union_vfsops.c index c9e2c60..670c7ce 100644 --- a/sys/fs/unionfs/union_vfsops.c +++ b/sys/fs/unionfs/union_vfsops.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * @(#)union_vfsops.c 8.7 (Berkeley) 3/5/94 - * $Id: union_vfsops.c,v 1.8 1995/03/16 18:14:02 bde Exp $ + * $Id: union_vfsops.c,v 1.9 1995/03/16 20:23:44 wollman Exp $ */ /* @@ -118,7 +118,7 @@ union_mount(mp, path, data, ndp, p) error = VOP_GETATTR(mp->mnt_vnodecovered, &va, cred, p); if (error) goto bad; - if ((va.va_uid != cred->cr_uid) && + if ((va.va_uid != cred->cr_uid) && (cred->cr_uid != 0)) { error = EACCES; goto bad; @@ -163,7 +163,7 @@ union_mount(mp, path, data, ndp, p) error = EINVAL; goto bad; } - + um = (struct union_mount *) malloc(sizeof(struct union_mount), M_UFSMNT, M_WAITOK); /* XXX */ @@ -338,7 +338,7 @@ union_unmount(mp, mntflags, p) #ifdef UNION_DIAGNOSTIC vprint("alias root of lower", um_rootvp); -#endif +#endif /* * Discard references to upper and lower target vnodes. */ @@ -517,7 +517,7 @@ union_vget(mp, ino, vpp) ino_t ino; struct vnode **vpp; { - + return (EOPNOTSUPP); } |