From: Trond Myklebust Date: Sat, 20 Apr 2013 05:25:45 +0000 (-0400) Subject: NFSv4: Use the open stateid if the delegation has the wrong mode X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~98^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92b40e93849e29f9ca661de6442bb66282738bf7;p=pandora-kernel.git NFSv4: Use the open stateid if the delegation has the wrong mode 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 --- Reading git-diff-tree failed