Trond Myklebust 03da3169c6 nfsd: Fix races with check_stateid_generation()
The various functions that call check_stateid_generation() in order
to compare a client-supplied stateid with the nfs4_stid state, usually
need to atomically check for closed state. Those that perform the
check after locking the st_mutex using nfsd4_lock_ol_stateid()
should now be OK, but we do want to fix up the others.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
2017-11-27 16:45:10 -05:00
..
2017-11-16 11:41:22 -08:00
2017-11-15 18:21:06 -08:00
2017-11-15 18:21:04 -08:00
2017-08-24 13:23:03 -07:00
2017-11-14 14:44:04 -08:00
2017-11-17 09:51:57 -08:00
2017-11-16 12:10:21 -08:00
2017-11-16 11:41:22 -08:00
2017-11-17 09:51:57 -08:00
2017-11-14 13:53:18 -08:00
2017-11-18 11:22:04 -08:00
2017-11-17 14:18:00 -08:00
2017-11-22 20:42:42 -10:00
2017-09-04 19:05:15 -04:00
2017-11-17 09:51:57 -08:00
2017-11-15 18:21:04 -08:00
2017-06-22 11:44:55 -04:00