tracking open state in setattr for reboot recovery
This commit is contained in:
parent
a645f7030c
commit
2ae743efe7
3 changed files with 14 additions and 4 deletions
|
|
@ -118,9 +118,8 @@ void nfs41_open_stateid_arg(
|
|||
arg->open = state;
|
||||
}
|
||||
|
||||
|
||||
/* client list of associated open state */
|
||||
static void client_state_add(
|
||||
void client_state_add(
|
||||
IN nfs41_open_state *state)
|
||||
{
|
||||
nfs41_client *client = state->session->client;
|
||||
|
|
@ -130,7 +129,7 @@ static void client_state_add(
|
|||
LeaveCriticalSection(&client->state.lock);
|
||||
}
|
||||
|
||||
static void client_state_remove(
|
||||
void client_state_remove(
|
||||
IN nfs41_open_state *state)
|
||||
{
|
||||
nfs41_client *client = state->session->client;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue