]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6e3970c4c4d99b55887b29fd0ea040b1adbce1a2
tree91733947622b31660a7de05a2c3c92f9bc6fe075
parent406471a9fc069e43b0cdb7a468e9a76f10d301f1
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