patch-2.3.10 linux/fs/nfs/write.c
Next file: linux/fs/nfsd/nfsctl.c
Previous file: linux/fs/nfs/read.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Sat Jul 3 10:44:05 1999
- Orig file:
v2.3.9/linux/fs/nfs/write.c
- Orig date:
Wed Jun 30 13:38:20 1999
diff -u --recursive --new-file v2.3.9/linux/fs/nfs/write.c linux/fs/nfs/write.c
@@ -305,6 +305,7 @@
goto out_req;
/* Put the task on inode's writeback request list. */
+ get_file(file);
wreq->wb_file = file;
wreq->wb_pid = current->pid;
wreq->wb_page = page;
@@ -467,7 +468,6 @@
* The IO completion will then free the page and the dentry.
*/
get_page(page);
- atomic_inc(&file->f_count);
/* Schedule request */
synchronous = schedule_write_request(req, synchronous);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)