summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2016-09-22 10:23:28 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2016-09-22 10:23:28 +0000
commit3b8bf5672917fd3f76f65c1dcaed2ea554a558d4 (patch)
treed37b62c62e880bc6a7c7544a5d67dad2c69f601c /sys
parent51e565ecbe96d034877c953d1496eaf48ea08f57 (diff)
Fix indentation. No binary change.
Diffstat (limited to 'sys')
-rw-r--r--sys/tmpfs/tmpfs_subr.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/tmpfs/tmpfs_subr.c b/sys/tmpfs/tmpfs_subr.c
index 9db2a35729e..55b67df9f10 100644
--- a/sys/tmpfs/tmpfs_subr.c
+++ b/sys/tmpfs/tmpfs_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmpfs_subr.c,v 1.16 2016/06/19 11:54:33 natano Exp $ */
+/* $OpenBSD: tmpfs_subr.c,v 1.17 2016/09/22 10:23:27 jsg Exp $ */
/* $NetBSD: tmpfs_subr.c,v 1.79 2012/03/13 18:40:50 elad Exp $ */
/*
@@ -1112,13 +1112,13 @@ tmpfs_chtimes(struct vnode *vp, const struct timespec *atime,
(error = VOP_ACCESS(vp, VWRITE, cred, p))))
return error;
- if (atime->tv_nsec != VNOVAL)
+ if (atime->tv_nsec != VNOVAL)
node->tn_atime = *atime;
-
- if (mtime->tv_nsec != VNOVAL)
+
+ if (mtime->tv_nsec != VNOVAL)
node->tn_mtime = *mtime;
- if (mtime->tv_nsec != VNOVAL || (vaflags & VA_UTIMES_CHANGE))
+ if (mtime->tv_nsec != VNOVAL || (vaflags & VA_UTIMES_CHANGE))
tmpfs_update(VP_TO_TMPFS_NODE(vp), TMPFS_NODE_CHANGED);
VN_KNOTE(vp, NOTE_ATTRIB);