summaryrefslogtreecommitdiff
path: root/sys/nfs/nfs_serv.c
AgeCommit message (Expand)Author
2014-11-18Reduce scope of iovec variables, use mallocarray, and record size forTed Unangst
2014-11-14bzero -> memsetTed Unangst
2014-11-03include sys/unistd.h where needed instead of indirect reliance. ok jsgTed Unangst
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-08decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.hTheo de Raadt
2014-04-21Back out most of v1.47 changes which mess up the block size on theseBob Beck
2013-08-13Switch time_t, ino_t, clock_t, and struct kevent's ident and dataPhilip Guenther
2013-06-03Convert some internal APIs to use timespecs instead of timevalsPhilip Guenther
2012-03-21Prevent vrele() being called with a NULL argument if nfs_namei() returns anMark Kettenis
2010-09-09Rename lookup/relookup to vfs_lookup/vfs_relookup.Thordur I. Bjornsson
2010-03-29Initialize various uninitialized variables. Found by jsg@ via Clang.Kenneth R Westerback
2009-10-19antsyJonathan Gray
2009-08-30if nfs_namei() fails, there's no ni_startdir and the pathname buffer hasThordur I. Bjornsson
2009-08-14Avoid double-release of vnodes in several functionsBret Lambert
2009-08-14Initialize len variable; found by Martynas VenckusBret Lambert
2009-08-13change version 3 post-operation attribute building function to notBret Lambert
2009-08-11Fix a few bugs in nfsrv_rename() error recovery code.Thordur I. Bjornsson
2009-08-10AnotherBret Lambert
2009-08-10Remove the v2 writegather code. It did help alot back in the 80sThordur I. Bjornsson
2009-08-09MLEN < NFS_MAXPATHLEN < MCLBYTES, so there's no need toBret Lambert
2009-08-09error = operation();Bret Lambert
2009-08-09set the mrq pointer (request) in the nfsm_reply() macro, as we can return fro...Thordur I. Bjornsson
2009-08-04group all of the on-stack variables that are uses by the nfsm_macrosThordur I. Bjornsson
2009-07-20(struct foo *)0 -> NULL, every where I could find it.Thordur I. Bjornsson
2009-07-17Initialize a variable that was previously using a mystery value inBret Lambert
2009-06-06Don't allocate an mbuf cluster without checking to see if it willBret Lambert
2009-06-06Consolidate error handling in read case.Bret Lambert
2009-06-06Consolidate error handling code. Much less atrocious than before.Bret Lambert
2009-06-05bring back rev1.70Thordur I. Bjornsson
2009-06-05revert to 1.67 to unbreak NFS writes; ok beck@ thib@Christian Weisgerber
2009-06-05EPERM from VOP_ACCESS() is always an error, so don't hide it.Thordur I. Bjornsson
2009-06-04the following:Bret Lambert
2009-06-04Move code that logically belongs together to be together.Bret Lambert
2009-05-21IO_METASYNC has been a noop since around 4.4BSD-Lite, theThordur I. Bjornsson
2009-04-13Convert macros to functions to reduce kernel memory usage.Bret Lambert
2009-03-30Convert a sizeable macro to a much-leaner function. Saves (IIRC) 5k on i386.Bret Lambert
2009-03-15Introduce splsoftassert(), similar to splassert() but for soft interruptMiod Vallat
2009-01-27Correct my timeradd() thinko in nfsrv_writegather()Bret Lambert
2009-01-24Use a timespec for the server write deadline and procrastinationThordur I. Bjornsson
2009-01-18Perform the same access enforcements for set attributesThordur I. Bjornsson
2008-12-24Low hanging macro fruit. Inline the nfsm_srvstrsiz macro sinceThordur I. Bjornsson
2008-12-24Replace the TRUE/FALSE defines with 1/0 respectively. This doesn'tThordur I. Bjornsson
2008-07-06remove #ifndef nolint gooThordur I. Bjornsson
2008-06-15unroll the NFSMADV() macro and nuke itThordur I. Bjornsson
2008-06-14Replace nfsm_build/bcopy with nfsm_{buf,str}tombuf functions inBret Lambert
2008-06-14use nfsm_padlen() where appropriate;Thordur I. Bjornsson
2008-06-13Replace one-line macro which only obfuscated the fact thatBret Lambert
2008-06-12Remove now-vestigial bpos pointer from NFS. For building outgoingBret Lambert
2008-06-11Canonical for() -> queue.h FOREACH macro conversions.Bret Lambert
2008-05-27Remove bloated and nasty nfsm_clget macro; while here, replace someBret Lambert