freebsd-skq/sys/nfsclient
tjr f4b299adc0 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 Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
krpc.h Cleanup and split of nfs client and server code. 2001-09-18 23:32:09 +00:00
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 Remove a case of exposing 'struct ucred' to userspace. Use a struct xucred 2002-08-15 21:52:22 +00:00
nfs_nfsiod.c Change idle sleep indentifier to "-" for nfsiod 2003-07-02 08:09:20 +00:00
nfs_node.c Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
nfs_socket.c - Merge struct procsig with struct sigacts. 2003-05-13 20:36:02 +00:00
nfs_subs.c Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
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 Remove extern declarations of stuff which is static in nfs_node.c 2002-10-20 21:40:55 +00:00
nfsargs.h Allow users to use the 'nolockd' or -L options with mount_nfs in order 2001-11-12 02:33:52 +00:00
nfsdiskless.h Moved nfs_diskless setup code from autoconf.c to nfsclient/nfs_diskless.c 2002-09-22 00:59:02 +00:00
nfsm_subs.h Avoid passing the variable `tl' to functions that just use it for 2001-12-18 01:22:09 +00:00
nfsmount.h Now that we have a cached mount credential in struct mount, use it istead 2002-09-08 15:11:18 +00:00
nfsnode.h Remove the nfs_{lock,unlock,islocked} functions and the associated 2002-04-27 22:10:16 +00:00
nfsstats.h Cleanup and split of nfs client and server code. 2001-09-18 23:32:09 +00:00
nlminfo.h Cleanup and split of nfs client and server code. 2001-09-18 23:32:09 +00:00