nfs_clcomsubs.c (586ee69f09c5060621486b34722a4a806581f93d) | nfs_clcomsubs.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. --- 271 unchanged lines hidden (view full) --- 280 nap->na_size = fxdr_hyper(&fp->fa3_size); 281 nap->na_blocksize = NFS_FABLKSIZE; 282 nap->na_bytes = fxdr_hyper(&fp->fa3_used); 283 nap->na_fileid = fxdr_hyper(&fp->fa3_fileid); 284 fxdr_nfsv3time(&fp->fa3_atime, &nap->na_atime); 285 fxdr_nfsv3time(&fp->fa3_ctime, &nap->na_ctime); 286 fxdr_nfsv3time(&fp->fa3_mtime, &nap->na_mtime); 287 nap->na_flags = 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. --- 271 unchanged lines hidden (view full) --- 280 nap->na_size = fxdr_hyper(&fp->fa3_size); 281 nap->na_blocksize = NFS_FABLKSIZE; 282 nap->na_bytes = fxdr_hyper(&fp->fa3_used); 283 nap->na_fileid = fxdr_hyper(&fp->fa3_fileid); 284 fxdr_nfsv3time(&fp->fa3_atime, &nap->na_atime); 285 fxdr_nfsv3time(&fp->fa3_ctime, &nap->na_ctime); 286 fxdr_nfsv3time(&fp->fa3_mtime, &nap->na_mtime); 287 nap->na_flags = 0; |
288 nap->na_gen = 0; |
|
288 nap->na_filerev = 0; 289 } else { 290 NFSM_DISSECT(fp, struct nfs_fattr *, NFSX_V2FATTR); 291 nap->na_type = nfsv2tov_type(fp->fa_type); 292 nap->na_mode = fxdr_unsigned(u_short, fp->fa_mode); 293 if (nap->na_type == VNON || nap->na_type == VREG) 294 nap->na_type = IFTOVT(nap->na_mode); 295 nap->na_rdev = fxdr_unsigned(dev_t, fp->fa2_rdev); --- 192 unchanged lines hidden --- | 289 nap->na_filerev = 0; 290 } else { 291 NFSM_DISSECT(fp, struct nfs_fattr *, NFSX_V2FATTR); 292 nap->na_type = nfsv2tov_type(fp->fa_type); 293 nap->na_mode = fxdr_unsigned(u_short, fp->fa_mode); 294 if (nap->na_type == VNON || nap->na_type == VREG) 295 nap->na_type = IFTOVT(nap->na_mode); 296 nap->na_rdev = fxdr_unsigned(dev_t, fp->fa2_rdev); --- 192 unchanged lines hidden --- |