Trond Myklebust 4a1e2feb9d NFSv4.1: Fix a protocol issue with CLOSE stateids
According to RFC5661 Section 18.2.4, CLOSE is supposed to return
the zero stateid. This means that nfs_clear_open_stateid_locked()
cannot assume that the result stateid will always match the 'other'
field of the existing open stateid when trying to determine a race
with a parallel OPEN.

Instead, we look at the argument, and check for matches.

Cc: stable@vger.kernel.org # v4.0+
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
2015-08-30 18:45:04 -07:00
..
2013-06-08 16:20:18 -04:00
2015-04-23 15:16:27 -04:00
2015-04-26 17:33:59 -07:00
2015-04-23 15:16:14 -04:00
2012-07-30 19:06:41 -04:00
2015-02-03 11:06:34 -08:00
2015-04-23 15:16:14 -04:00
2015-04-23 15:16:14 -04:00
2015-08-25 20:06:56 -04:00
2012-07-30 19:06:52 -04:00
2015-01-30 20:43:30 -05:00
2015-08-20 13:43:53 -05:00
2015-04-26 17:33:59 -07:00