From: J. Bruce Fields Date: Fri, 3 Apr 2015 21:19:41 +0000 (-0400) Subject: nfsd4: fix READ permission checking X-Git-Tag: omap-for-v4.1/fixes-rc1~42^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e4891dc289cd191d46ab7ba1dcb29646644f9ca;p=pandora-kernel.git nfsd4: fix READ permission checking In the case we already have a struct file (derived from a stateid), we still need to do permission-checking; otherwise an unauthorized user could gain access to a file by sniffing or guessing somebody else's stateid. Cc: stable@vger.kernel.org Fixes: dc97618ddda9 "nfsd4: separate splice and readv cases" Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed