Linux NFS development
 help / color / mirror / Atom feed
From: andros@netapp.com
To: bfields@citi.umich.edu
Cc: linux-nfs@vger.kernel.org, pnfs@linux-nfs.org,
	Andy Adamson <andros@netapp.com>
Subject: [PATCH 02/22] SQUASHME: nfsd41: use cstate session in nfsd4_replay_cache_entry
Date: Thu,  2 Apr 2009 20:19:43 -0400	[thread overview]
Message-ID: <1238718003-8764-2-git-send-email-andros@netapp.com> (raw)
In-Reply-To: <1238718003-8764-1-git-send-email-andros@netapp.com>

From: Andy Adamson <andros@netapp.com>

March 31 review by Bruce
squash into nfsd41: DRC save, restore, and clear functions

Signed-off-by: Andy Adamson <andros@netapp.com>
---
 fs/nfsd/nfs4state.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index b7c4ed0..b233efa 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -1154,7 +1154,7 @@ nfsd4_replay_cache_entry(struct nfsd4_compoundres *resp,
 	 * is sent (lease renewal).
 	 */
 	if (seq && nfsd4_no_page_in_cache(resp)) {
-		seq->maxslots = resp->cstate.slot->sl_session->se_fnumslots;
+		seq->maxslots = resp->cstate.session->se_fnumslots;
 		return nfs_ok;
 	}
 
-- 
1.5.4.3


  reply	other threads:[~2009-04-03  0:20 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-03  0:19 [PATCH 01/22] SQUASHME: nfsd41: add nfsd4_session pointer to nfsd4_compound_state andros
2009-04-03  0:19 ` andros [this message]
2009-04-03  0:19   ` [PATCH 03/22] SQUASHME nfsd41: use cstate session in nfsd4_sequence andros
2009-04-03  0:19     ` [PATCH 04/22] SQUASHME: nfsd41: use cstate session in nfsd4_check_drc_limit andros
2009-04-03  0:19       ` [PATCH 05/22] SQUASHME: nfsd41: use cstate session in nfs4svc_encode_compoundres andros
2009-04-03  0:19         ` [PATCH 06/22] SQUASHME: nfsd41 remove sl_session from nfsd4_open andros
2009-04-03  0:19           ` [PATCH 07/22] SQUASHME: nfsd41 remove sl_session from alloc_init_session andros
2009-04-03  0:19             ` [PATCH 08/22] SQUASHME: nfsd41 remove sl_session from nfsd4_slot andros
2009-04-03  0:19               ` [PATCH 09/22] SQUASHME: nfsd41 set cstate session andros
2009-04-03  0:19                 ` [PATCH 10/22] SQUASHME: nfsd41 rename nfsd4_move_pages andros
2009-04-03  0:19                   ` [PATCH 11/22] SQUASHME: nfsd41 rename page_no variable andros
2009-04-03  0:19                     ` [PATCH 12/22] SQUASHME: nfsd41 rename nfsd4_set_cache_entry andros
2009-04-03  0:19                       ` [PATCH 13/22] SQUASHME nfsd41 replace nfsd4_set_cache_entry andros
2009-04-03  0:19                         ` [PATCH 14/22] SQUASHME: nfsd41 fix nfsd41_copy_replay_data comment andros
2009-04-03  0:19                           ` [PATCH 15/22] SQUASHME nfsd41: revert portion of nfsd4_set_cache_entry andros
2009-04-03  0:19                             ` [PATCH 16/22] SQUASHME nfsd41: add to nfsd4_set_cache_entry andros
2009-04-03  0:19                               ` [PATCH 17/22] SQUASHME nfsd41 remove CONFIG_NFS_V4_1 around nfsd4_release_respages andros
2009-04-03  0:19                                 ` [PATCH 18/22] SQUASHME: rename nfsd4_no_page_in_cache andros
2009-04-03  0:20                                   ` [PATCH 19/22] SQUASHME: nfsd41 rename nfsd4_enc_no_page_replay andros
2009-04-03  0:20                                     ` [PATCH 20/22] SQUASHME nfsd41 nfsd4_is_solo_sequence andros
2009-04-03  0:20                                       ` [PATCH 21/22] SQUASHME: nfsd41 change nfsd4_not_cached return andros
2009-04-03  0:20                                         ` [PATCH 22/22] SQUASHME: nfsd41 drop parens in nfsd4_is_solo_sequence call andros
2009-04-03  1:02                                           ` [pnfs] " Benny Halevy
2009-04-03  0:34                                         ` [pnfs] [PATCH 21/22] SQUASHME: nfsd41 change nfsd4_not_cached return Benny Halevy
2009-04-03  0:33                                       ` [pnfs] [PATCH 20/22] SQUASHME nfsd41 nfsd4_is_solo_sequence Benny Halevy
2009-04-03  1:46           ` [pnfs] [PATCH 06/22] SQUASHME: nfsd41 remove sl_session from nfsd4_open Benny Halevy
2009-04-03  1:50   ` [pnfs] [PATCH 02/22] SQUASHME: nfsd41: use cstate session in nfsd4_replay_cache_entry Benny Halevy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1238718003-8764-2-git-send-email-andros@netapp.com \
    --to=andros@netapp.com \
    --cc=bfields@citi.umich.edu \
    --cc=linux-nfs@vger.kernel.org \
    --cc=pnfs@linux-nfs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox