nfs4state.c (91e229bbad6524aabaac8717b2f559283670c37a) | nfs4state.c (5d00837b90340af9106dcd93af75fd664c8eb87f) |
---|---|
1/* 2 * fs/nfs/nfs4state.c 3 * 4 * Client-side XDR for NFSv4. 5 * 6 * Copyright (c) 2002 The Regents of the University of Michigan. 7 * All rights reserved. 8 * --- 717 unchanged lines hidden (view full) --- 726 struct rpc_sequence *sequence = seqid->sequence->sequence; 727 int status = 0; 728 729 spin_lock(&sequence->lock); 730 if (list_empty(&seqid->list)) 731 list_add_tail(&seqid->list, &sequence->list); 732 if (list_first_entry(&sequence->list, struct nfs_seqid, list) == seqid) 733 goto unlock; | 1/* 2 * fs/nfs/nfs4state.c 3 * 4 * Client-side XDR for NFSv4. 5 * 6 * Copyright (c) 2002 The Regents of the University of Michigan. 7 * All rights reserved. 8 * --- 717 unchanged lines hidden (view full) --- 726 struct rpc_sequence *sequence = seqid->sequence->sequence; 727 int status = 0; 728 729 spin_lock(&sequence->lock); 730 if (list_empty(&seqid->list)) 731 list_add_tail(&seqid->list, &sequence->list); 732 if (list_first_entry(&sequence->list, struct nfs_seqid, list) == seqid) 733 goto unlock; |
734 rpc_sleep_on(&sequence->wait, task, NULL, NULL); | 734 rpc_sleep_on(&sequence->wait, task, NULL); |
735 status = -EAGAIN; 736unlock: 737 spin_unlock(&sequence->lock); 738 return status; 739} 740 741static int reclaimer(void *); 742 --- 242 unchanged lines hidden --- | 735 status = -EAGAIN; 736unlock: 737 spin_unlock(&sequence->lock); 738 return status; 739} 740 741static int reclaimer(void *); 742 --- 242 unchanged lines hidden --- |