NFS: Ensure that all nfs lock contexts have a valid open context
authorTrond Myklebust <trondmy@gmail.com>
Sun, 7 Apr 2019 17:59:10 +0000 (13:59 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 25 Apr 2019 18:18:15 +0000 (14:18 -0400)
commit154945112dac10b7109d816275f3e4896b0b064e
tree91733947622b31660a7de05a2c3c92f9bc6fe075
parent0688e64bc60038971253485d92bc3d6c816f915d
NFS: Ensure that all nfs lock contexts have a valid open context

Force the lock context to keep a reference to the parent open
context so that we can guarantee the validity of the latter.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/inode.c