patch-2.1.131 linux/fs/nfs/write.c

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

diff -u --recursive --new-file v2.1.130/linux/fs/nfs/write.c linux/fs/nfs/write.c
@@ -583,38 +583,6 @@
 	NFS_WB(inode, req->wb_pid == pid);
 }
 
-/*
- * Write back everything in a specific area for locking purposes..
- */
-int
-nfs_wb_area(struct inode *inode, off_t offset, off_t len)
-{
-	NFS_WB(inode, 1);
-}
-
-/*
- * Write back and invalidate. Sometimes we can't leave the stuff
- * hanging if we can't write it out.
- */
-int
-nfs_wbinval(struct inode *inode)
-{
-	int retval = nfs_wb_all(inode);
-
-	if (retval)
-		nfs_cancel_dirty(inode,0);
-	return retval;
-}
-
-int nfs_wbinval_pid(struct inode *inode, pid_t pid)
-{
-	int retval = nfs_wb_pid(inode, pid);
-	
-	if (retval)
-		nfs_cancel_dirty(inode,pid);
-	return retval;
-}
-
 void
 nfs_inval(struct inode *inode)
 {

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