commit | 8a64c4ef106d17805691e893642912041a622938 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Thu Sep 22 13:39:21 2016 -0400 |
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | Tue Sep 27 14:35:31 2016 -0400 |
tree | 2be4f8dad70afde0b2a7d0e802e34c281f9ca791 | |
parent | 7ebeb7fe74bb855bc76a72154e669f00dc614729 [diff] |
NFSv4.1: Even if the stateid is OK, we may need to recover the open modes TEST_STATEID only tells you that you have a valid open stateid. It doesn't tell the client anything about whether or not it holds the required share locks. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> Tested-by: Oleg Drokin <green@linuxhacker.ru> [Anna: Wrap nfs_open_stateid_recover_openmode in CONFIG_NFS_V4_1 checks] Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>