NFSv4: Ensure that the LOCK code sets exception->inode
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 18 Apr 2012 16:20:10 +0000 (12:20 -0400)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 11 May 2012 12:14:29 +0000 (13:14 +0100)
commit91dd866b788cfcbe9642adb201f281b386084c81
tree86c70fbaddbfdf593e32f7da6ed6b6d17601224f
parentbcd008fcd3c3d6e50ffc4eb5cf6b7f25f3d1d1dd
NFSv4: Ensure that the LOCK code sets exception->inode

commit 05ffe24f5290dc095f98fbaf84afe51ef404ccc5 upstream.

All callers of nfs4_handle_exception() that need to handle
NFS4ERR_OPENMODE correctly should set exception->inode

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
fs/nfs/nfs4proc.c