[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-nfs
Subject:    [NFS] [PATCH] kNFSdv4 - 7 of 10 - Allow locku replays aswell
From:       NeilBrown <neilb () cse ! unsw ! edu ! au>
Date:       2004-04-08 1:18:46
Message-ID: E1BBOBq-0001Qw-LE () notabene ! cse ! unsw ! edu ! au
[Download RAW message or body]


From: "J. Bruce Fields" <bfields@fieldses.org>

From Andros: locku replies should be saved for possible replay as well.

 ----------- Diffstat output ------------
 ./fs/nfsd/nfs4proc.c |    1 +
 1 files changed, 1 insertion(+)

diff ./fs/nfsd/nfs4proc.c~current~ ./fs/nfsd/nfs4proc.c
--- ./fs/nfsd/nfs4proc.c~current~	2004-04-08 10:56:00.000000000 +1000
+++ ./fs/nfsd/nfs4proc.c	2004-04-08 10:56:52.000000000 +1000
@@ -789,6 +789,7 @@ nfsd4_proc_compound(struct svc_rqst *rqs
 			break;
 		case OP_LOCKU:
 			op->status = nfsd4_locku(rqstp, &current_fh, &op->u.locku);
+			op->replay = &op->u.locku.lu_stateowner->so_replay;
 			break;
 		case OP_LOOKUP:
 			op->status = nfsd4_lookup(rqstp, &current_fh, &op->u.lookup);


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic