[PATCH 1/4] SQUASHME pnfs-submit remove unused pnfs_return_layout_done

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Andy Adamson <andros@xxxxxxxxxx>

Not used by any layout driver

Signed-off-by: Andy Adamson <andros@xxxxxxxxxx>
---
 fs/nfs/pnfs.c |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)

diff --git a/fs/nfs/pnfs.c b/fs/nfs/pnfs.c
index 7327cb2..b9ada8e 100644
--- a/fs/nfs/pnfs.c
+++ b/fs/nfs/pnfs.c
@@ -761,21 +761,6 @@ out_put:
 	goto out;
 }
 
-void
-pnfs_return_layout_done(struct pnfs_layout_type *lo,
-		     struct nfs4_pnfs_layoutreturn *lrp,
-		     int rpc_status)
-{
-	dprintk("--> %s\n", __func__);
-
-	/* FIX-ME: If layoutreturn failed, we have already removed the
-	 * lseg from the cache...
-	 */
-	pnfs_set_layout_stateid(lo, &lrp->res.stateid);
-
-	dprintk("<-- %s\n", __func__);
-}
-
 /*
  * cmp two layout segments for sorting into layout cache
  */
-- 
1.6.6

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux