freebsd-nq/sys/nfsclient
Tim J. Robbins aae962d56e Fix a problem that occurs when truncating files on NFSv3 mounts: we need
to set np->n_size back to the desired size again after calling
nfs_meta_setsize(), since it could end up in nfs_loadattrcache() getting
called, which would change n_size back to the value it had before the
truncate request was issued. The result of this bug is that the size info
cached in the nfsnode becomes incorrect, lseek(fd, ofs, SEEK_END) seeks
past the end of the file, stat() returns the wrong size, etc.

PR:		41792
MFC after:	2 weeks
2003-07-29 00:17:29 +00:00
..
bootp_subr.c On a socket creation error, don't close the socket. 2003-06-09 03:44:34 +00:00
krpc_subr.c
krpc.h
nfs_bio.c Lock the vm object when freeing a page. 2003-06-17 05:17:00 +00:00
nfs_diskless.c Use __FBSDID(). 2003-06-11 05:37:42 +00:00
nfs_lock.c Add fdidx argument to vn_open() and vn_open_cred() and pass -1 throughout. 2003-07-27 17:04:56 +00:00
nfs_lock.h
nfs_nfsiod.c Change idle sleep indentifier to "-" for nfsiod 2003-07-02 08:09:20 +00:00
nfs_node.c
nfs_socket.c - Merge struct procsig with struct sigacts. 2003-05-13 20:36:02 +00:00
nfs_subs.c
nfs_vfsops.c Initialize struct vfsops C99-sparsely. 2003-06-12 20:48:38 +00:00
nfs_vnops.c Fix a problem that occurs when truncating files on NFSv3 mounts: we need 2003-07-29 00:17:29 +00:00
nfs.h
nfsargs.h
nfsdiskless.h
nfsm_subs.h
nfsmount.h
nfsnode.h
nfsstats.h
nlminfo.h