]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Jun 2013 19:53:21 +0000 (12:53 -0700)
commitbaac211e7927df46735dbc3d5529b9bfb55a3422
tree16826aa78b207568f26162fd0eff7e84e6f00027
parent0b0fc73ec0d067924cfa5504f93c1a506efb941f
NFSv4: Fix a thinko in nfs4_try_open_cached

commit f448badd34700ae728a32ba024249626d49c10e1 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/nfs4proc.c