[PATCH 04/38] pnfsd-lexp: remove get_state

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

 



Signed-off-by: Benny Halevy <bhalevy@xxxxxxxxxx>
---
 fs/nfsd/pnfsd_lexp.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/fs/nfsd/pnfsd_lexp.c b/fs/nfsd/pnfsd_lexp.c
index bcdb80f..5d448c2 100644
--- a/fs/nfsd/pnfsd_lexp.c
+++ b/fs/nfsd/pnfsd_lexp.c
@@ -223,12 +223,6 @@ static int get_stripe_unit(int blocksize)
 	return 0;
 }
 
-static int pnfsd_lexp_get_state(struct inode *inode, struct knfsd_fh *fh,
-				struct pnfs_get_state *p)
-{
-	return 0;	/* just use the current stateid */
-}
-
 static struct pnfs_export_operations pnfsd_lexp_ops = {
 	.layout_type = pnfsd_lexp_layout_type,
 	.get_device_info = pnfsd_lexp_get_device_info,
@@ -236,7 +230,6 @@ static int pnfsd_lexp_get_state(struct inode *inode, struct knfsd_fh *fh,
 	.layout_get = pnfsd_lexp_layout_get,
 	.layout_commit = pnfsd_lexp_layout_commit,
 	.layout_return = pnfsd_lexp_layout_return,
-	.get_state = pnfsd_lexp_get_state,
 };
 
 void
-- 
1.7.11.7

--
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