vfs_syscalls.c (205423) | vfs_syscalls.c (205792) |
---|---|
1/*- 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 21 unchanged lines hidden (view full) --- 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * @(#)vfs_syscalls.c 8.13 (Berkeley) 4/15/94 35 */ 36 37#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 21 unchanged lines hidden (view full) --- 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * @(#)vfs_syscalls.c 8.13 (Berkeley) 4/15/94 35 */ 36 37#include <sys/cdefs.h> |
38__FBSDID("$FreeBSD: head/sys/kern/vfs_syscalls.c 205423 2010-03-21 20:43:23Z ed $"); | 38__FBSDID("$FreeBSD: head/sys/kern/vfs_syscalls.c 205792 2010-03-28 13:13:22Z ed $"); |
39 40#include "opt_compat.h" 41#include "opt_kdtrace.h" 42#include "opt_ktrace.h" 43 44#include <sys/param.h> 45#include <sys/systm.h> 46#include <sys/bio.h> --- 2217 unchanged lines hidden (view full) --- 2264 ost->st_nlink = st->st_nlink; 2265 ost->st_uid = st->st_uid; 2266 ost->st_gid = st->st_gid; 2267 ost->st_rdev = st->st_rdev; 2268 if (st->st_size < (quad_t)1 << 32) 2269 ost->st_size = st->st_size; 2270 else 2271 ost->st_size = -2; | 39 40#include "opt_compat.h" 41#include "opt_kdtrace.h" 42#include "opt_ktrace.h" 43 44#include <sys/param.h> 45#include <sys/systm.h> 46#include <sys/bio.h> --- 2217 unchanged lines hidden (view full) --- 2264 ost->st_nlink = st->st_nlink; 2265 ost->st_uid = st->st_uid; 2266 ost->st_gid = st->st_gid; 2267 ost->st_rdev = st->st_rdev; 2268 if (st->st_size < (quad_t)1 << 32) 2269 ost->st_size = st->st_size; 2270 else 2271 ost->st_size = -2; |
2272 ost->st_atime = st->st_atime; 2273 ost->st_mtime = st->st_mtime; 2274 ost->st_ctime = st->st_ctime; | 2272 ost->st_atim = st->st_atim; 2273 ost->st_mtim = st->st_mtim; 2274 ost->st_ctim = st->st_ctim; |
2275 ost->st_blksize = st->st_blksize; 2276 ost->st_blocks = st->st_blocks; 2277 ost->st_flags = st->st_flags; 2278 ost->st_gen = st->st_gen; 2279} 2280#endif /* COMPAT_43 */ 2281 2282/* --- 143 unchanged lines hidden (view full) --- 2426 bzero(nsb, sizeof *nsb); 2427 nsb->st_dev = sb->st_dev; 2428 nsb->st_ino = sb->st_ino; 2429 nsb->st_mode = sb->st_mode; 2430 nsb->st_nlink = sb->st_nlink; 2431 nsb->st_uid = sb->st_uid; 2432 nsb->st_gid = sb->st_gid; 2433 nsb->st_rdev = sb->st_rdev; | 2275 ost->st_blksize = st->st_blksize; 2276 ost->st_blocks = st->st_blocks; 2277 ost->st_flags = st->st_flags; 2278 ost->st_gen = st->st_gen; 2279} 2280#endif /* COMPAT_43 */ 2281 2282/* --- 143 unchanged lines hidden (view full) --- 2426 bzero(nsb, sizeof *nsb); 2427 nsb->st_dev = sb->st_dev; 2428 nsb->st_ino = sb->st_ino; 2429 nsb->st_mode = sb->st_mode; 2430 nsb->st_nlink = sb->st_nlink; 2431 nsb->st_uid = sb->st_uid; 2432 nsb->st_gid = sb->st_gid; 2433 nsb->st_rdev = sb->st_rdev; |
2434 nsb->st_atimespec = sb->st_atimespec; 2435 nsb->st_mtimespec = sb->st_mtimespec; 2436 nsb->st_ctimespec = sb->st_ctimespec; | 2434 nsb->st_atim = sb->st_atim; 2435 nsb->st_mtim = sb->st_mtim; 2436 nsb->st_ctim = sb->st_ctim; |
2437 nsb->st_size = sb->st_size; 2438 nsb->st_blocks = sb->st_blocks; 2439 nsb->st_blksize = sb->st_blksize; 2440 nsb->st_flags = sb->st_flags; 2441 nsb->st_gen = sb->st_gen; | 2437 nsb->st_size = sb->st_size; 2438 nsb->st_blocks = sb->st_blocks; 2439 nsb->st_blksize = sb->st_blksize; 2440 nsb->st_flags = sb->st_flags; 2441 nsb->st_gen = sb->st_gen; |
2442 nsb->st_birthtimespec = sb->st_birthtimespec; | 2442 nsb->st_birthtim = sb->st_birthtim; |
2443} 2444 2445#ifndef _SYS_SYSPROTO_H_ 2446struct nstat_args { 2447 char *path; 2448 struct nstat *ub; 2449}; 2450#endif --- 2224 unchanged lines hidden --- | 2443} 2444 2445#ifndef _SYS_SYSPROTO_H_ 2446struct nstat_args { 2447 char *path; 2448 struct nstat *ub; 2449}; 2450#endif --- 2224 unchanged lines hidden --- |