NFSv4: Fix a thinko in nfs4_try_open_cached
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 29 May 2013 19:36:40 +0000 (15:36 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 29 May 2013 20:03:23 +0000 (16:03 -0400)
commitf448badd34700ae728a32ba024249626d49c10e1
treec29209e0be54bc0c11ffe8a932e3b657ba45a08f
parent83c168bf8017212a9d502536f9dcd0b54d24e330
NFSv4: Fix a thinko in nfs4_try_open_cached

We need to pass the full open mode flags to nfs_may_open() when doing
a delegated open.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@vger.kernel.org
fs/nfs/nfs4proc.c