.. | .. |
---|
162 | 162 | sp = state->owner; |
---|
163 | 163 | /* Block nfs4_proc_unlck */ |
---|
164 | 164 | mutex_lock(&sp->so_delegreturn_mutex); |
---|
165 | | - seq = raw_seqcount_begin(&sp->so_reclaim_seqcount); |
---|
| 165 | + seq = read_seqbegin(&sp->so_reclaim_seqlock); |
---|
166 | 166 | err = nfs4_open_delegation_recall(ctx, state, stateid); |
---|
167 | 167 | if (!err) |
---|
168 | 168 | err = nfs_delegation_claim_locks(state, stateid); |
---|
169 | | - if (!err && read_seqcount_retry(&sp->so_reclaim_seqcount, seq)) |
---|
| 169 | + if (!err && read_seqretry(&sp->so_reclaim_seqlock, seq)) |
---|
170 | 170 | err = -EAGAIN; |
---|
171 | 171 | mutex_unlock(&sp->so_delegreturn_mutex); |
---|
172 | 172 | put_nfs_open_context(ctx); |
---|