nfs_clvnops.c (15bed8c46b32dec19e922cb89e12c8970867a303) nfs_clvnops.c (8bde6d15d1fa9a947c2bdc5eddae36cfbb1076dc)
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (c) 1989, 1993
5 * The Regents of the University of California. All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * Rick Macklem at The University of Guelph.

--- 948 unchanged lines hidden (view full) ---

957 NFSLOCKNODE(np);
958 if (np->n_flag & (NACC | NUPD))
959 np->n_flag |= NCHG;
960 NFSUNLOCKNODE(np);
961 /*
962 * First look in the cache.
963 */
964 if (ncl_getattrcache(vp, &vattr) == 0) {
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (c) 1989, 1993
5 * The Regents of the University of California. All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * Rick Macklem at The University of Guelph.

--- 948 unchanged lines hidden (view full) ---

957 NFSLOCKNODE(np);
958 if (np->n_flag & (NACC | NUPD))
959 np->n_flag |= NCHG;
960 NFSUNLOCKNODE(np);
961 /*
962 * First look in the cache.
963 */
964 if (ncl_getattrcache(vp, &vattr) == 0) {
965 vap->va_type = vattr.va_type;
966 vap->va_mode = vattr.va_mode;
967 vap->va_nlink = vattr.va_nlink;
968 vap->va_uid = vattr.va_uid;
969 vap->va_gid = vattr.va_gid;
970 vap->va_fsid = vattr.va_fsid;
971 vap->va_fileid = vattr.va_fileid;
972 vap->va_size = vattr.va_size;
973 vap->va_blocksize = vattr.va_blocksize;
974 vap->va_atime = vattr.va_atime;
975 vap->va_mtime = vattr.va_mtime;
976 vap->va_ctime = vattr.va_ctime;
977 vap->va_gen = vattr.va_gen;
978 vap->va_flags = vattr.va_flags;
979 vap->va_rdev = vattr.va_rdev;
980 vap->va_bytes = vattr.va_bytes;
981 vap->va_filerev = vattr.va_filerev;
965 ncl_copy_vattr(vap, &vattr);
966
982 /*
983 * Get the local modify time for the case of a write
984 * delegation.
985 */
986 nfscl_deleggetmodtime(vp, &vap->va_mtime);
987 return (0);
988 }
989

--- 3333 unchanged lines hidden ---
967 /*
968 * Get the local modify time for the case of a write
969 * delegation.
970 */
971 nfscl_deleggetmodtime(vp, &vap->va_mtime);
972 return (0);
973 }
974

--- 3333 unchanged lines hidden ---