patch-2.1.56 linux/fs/nfsd/vfs.c

Next file: linux/fs/open.c
Previous file: linux/fs/nfs/write.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.55/linux/fs/nfsd/vfs.c linux/fs/nfsd/vfs.c
@@ -294,7 +294,7 @@
 void
 nfsd_sync(struct inode *inode, struct file *filp)
 {
-	filp->f_op->fsync(inode, filp);
+	filp->f_op->fsync(filp, filp->f_dentry);
 }
 
 /*
@@ -928,7 +928,8 @@
 			file.f_inode->i_dev, file.f_inode->i_ino,
 			(int) file.f_pos, (int) oldlen, (int) cd.buflen);
 		 */
-		err = file.f_op->readdir(&file, &cd, (filldir_t) func);
+		err = file.f_op->readdir(&file,
+					 &cd, (filldir_t) func);
 
 		if (err < 0) {
 			nfsd_close(&file);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov