patch-2.1.60 linux/fs/autofs/waitq.c
Next file: linux/fs/binfmt_aout.c
Previous file: linux/fs/affs/file.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Tue Oct 21 08:57:29 1997
-  Orig file: 
v2.1.59/linux/fs/autofs/waitq.c
-  Orig date: 
Sun Sep  7 13:10:43 1997
diff -u --recursive --new-file v2.1.59/linux/fs/autofs/waitq.c linux/fs/autofs/waitq.c
@@ -55,7 +55,7 @@
 
 	old_signal = current->signal;
 
-	while ( bytes && (written = file->f_op->write(file->f_dentry->d_inode,file,data,bytes)) > 0 ) {
+	while ( bytes && (written = file->f_op->write(file,data,bytes,&file->f_pos)) > 0 ) {
 		data += written;
 		bytes -= written;
 	}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov