NFSv4: Use the open stateid if the delegation has the wrong mode
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 20 Apr 2013 05:25:45 +0000 (01:25 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 20 Apr 2013 05:39:42 +0000 (01:39 -0400)
Fix nfs4_select_rw_stateid() so that it chooses the open stateid
(or an all-zero stateid) if the delegation does not match the selected
read/write mode.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

No differences found