session: simplify slot table error handling
due to the slot table's use of CRITICAL_SECTION and CONDITION_VARIABLE, the slot table no longer returns errors for following functions: nfs41_session_bump_seq() nfs41_session_free_slot() nfs41_session_get_slot() nfs41_session_sequence() Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
parent
94fc1d946c
commit
1905abd027
6 changed files with 48 additions and 132 deletions
|
|
@ -1301,9 +1301,7 @@ static int rpc_array_putfh(
|
|||
compound_init(&compound, argops, resops, "array_putfh");
|
||||
|
||||
compound_add_op(&compound, OP_SEQUENCE, &sequence_args, &sequence_res);
|
||||
status = nfs41_session_sequence(&sequence_args, session, 0);
|
||||
if (status)
|
||||
goto out;
|
||||
nfs41_session_sequence(&sequence_args, session, 0);
|
||||
|
||||
for (i = 0; i < count; i++){
|
||||
compound_add_op(&compound, OP_PUTFH, &putfh_args[i], &putfh_res[i]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue