commit | 3c38cbe2ade88240fabb585b408f779ad3b9a31b | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Wed Jul 22 13:46:13 2015 -0400 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Wed Jul 22 17:10:51 2015 -0400 |
tree | 8d7c93a04f8d888ecd37913f9806e61367594efe | |
parent | 1980bd4d829a87ccd21b949f8a11ff1b426f5b0b [diff] |
NFSv4: We must set NFS_OPEN_STATE flag in nfs_resync_open_stateid_locked Otherwise, nfs4_select_rw_stateid() will always return the zero stateid instead of the correct open stateid. Fixes: f95549cf24660 ("NFSv4: More CLOSE/OPEN races") Cc: stable@vger.kernel.org # 4.0+ Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>