diff mbox

[04/38] pnfsd-lexp: remove get_state

Message ID 1368240162-31872-1-git-send-email-bhalevy@tonian.com (mailing list archive)
State New, archived
Headers show

Commit Message

Benny Halevy May 11, 2013, 2:42 a.m. UTC
Signed-off-by: Benny Halevy <bhalevy@tonian.com>
---
 fs/nfsd/pnfsd_lexp.c | 7 -------
 1 file changed, 7 deletions(-)
diff mbox

Patch

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