[PATCH] knfsd: Fixes for nfsd filesystem files
The transaction files in the 'nfsd' filesystem stores the per-transaction response size in the per-inode i_size, which is wrong. With this patch a page is allocated for holding size and request and response, so routines don't need to copy_fromuser. Also, some routines were allocating rather large (>1024 bytes) stuctures on the stack for copy_fromuser into, which was not nice and is now not needed. Also, writeonly and write_read methods are unified in a single transaction style interface. Write then read performs and action and returns a response. Write without read just performs the action and ignores response. Read without write triggers an empty transaction which can still have a response. That functionality will be used in a later patch.
Showing
Please register or sign in to comment