diff mbox

[19/38] SQUASHME: pnfsd: get rid of depdency on nfsd_serv starting 3.8

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

Commit Message

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

Patch

diff --git a/fs/nfsd/nfs4pnfsd.c b/fs/nfsd/nfs4pnfsd.c
index 24c19b3..48104fb 100644
--- a/fs/nfsd/nfs4pnfsd.c
+++ b/fs/nfsd/nfs4pnfsd.c
@@ -1446,11 +1446,6 @@  struct create_recall_list_arg {
 	       cbl->cbl_seg.iomode != IOMODE_RW &&
 	       cbl->cbl_seg.iomode != IOMODE_ANY);
 
-	if (nfsd_serv == NULL) {
-		dprintk("NFSD nfsd_layout_recall_cb: nfsd_serv == NULL\n");
-		return -ENOENT;
-	}
-
 	if (!with_nfs4_state_lock)
 		nfs4_lock_state();
 	status = -ENOENT;