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
|
|
@ -120,9 +120,7 @@ static int lookup_rpc(
|
|||
compound_init(&compound, argops, resops, "lookup");
|
||||
|
||||
compound_add_op(&compound, OP_SEQUENCE, &args->sequence, &res->sequence);
|
||||
status = nfs41_session_sequence(&args->sequence, session, 0);
|
||||
if (status)
|
||||
goto out;
|
||||
nfs41_session_sequence(&args->sequence, session, 0);
|
||||
|
||||
if (dir == &res->root) {
|
||||
compound_add_op(&compound, OP_PUTROOTFH, NULL, &res->putfh);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue