From: Trond Myklebust Date: Mon, 20 May 2013 16:24:03 +0000 (-0400) Subject: NFSv4.1: Enable state protection X-Git-Tag: v3.11-rc1~72^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f0b429df104c8ab41fa1b3013e13e0f95f3da52;p=pandora-kernel.git NFSv4.1: Enable state protection Use the EXCHGID4_FLAG_BIND_PRINC_STATEID exchange_id flag to enable stateid protection. This means that if we create a stateid using a particular principal, then we must use the same principal if we want to change that state. IOW: if we OPEN a file using a particular credential, then we have to use the same credential in subsequent OPEN_DOWNGRADE, CLOSE, or DELEGRETURN operations that use that stateid. Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed