summaryrefslogtreecommitdiff
path: root/sys/nfsclient
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2014-12-18 10:01:12 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2014-12-18 10:01:12 +0000
commit6c21f6edb8adc1083e0f3204068b84147a7e0982 (patch)
treed6d1c37be8bcdc191674e99f86893f2fda397461 /sys/nfsclient
parent9c75c3d4ba7c4e45507dbf57712b4aba8251735c (diff)
downloadsrc-test2-6c21f6edb8adc1083e0f3204068b84147a7e0982.tar.gz
src-test2-6c21f6edb8adc1083e0f3204068b84147a7e0982.zip
Notes
Diffstat (limited to 'sys/nfsclient')
-rw-r--r--sys/nfsclient/nfs_vnops.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/nfsclient/nfs_vnops.c b/sys/nfsclient/nfs_vnops.c
index a841f65dc96c..2516d7db94c2 100644
--- a/sys/nfsclient/nfs_vnops.c
+++ b/sys/nfsclient/nfs_vnops.c
@@ -1184,8 +1184,7 @@ nfsmout:
return (EJUSTRETURN);
}
- if ((cnp->cn_flags & MAKEENTRY) && cnp->cn_nameiop != CREATE &&
- dattrflag) {
+ if ((cnp->cn_flags & MAKEENTRY) != 0 && dattrflag) {
/*
* Cache the modification time of the parent
* directory from the post-op attributes in