]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
NFSv4: Fix a tracepoint Oops in initiate_file_draining()
authorTrond Myklebust <trondmy@gmail.com>
Thu, 23 Aug 2018 15:02:49 +0000 (11:02 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 14 Sep 2018 20:23:16 +0000 (16:23 -0400)
commit2a534a7473bf4e7f1c12805113f80c795fc8e89a
treecc5baf1d49ac497a750f9761d7a9bb1070f42af3
parent0af4c8be97a14d1df8a78b4993a09e8dff545a18
NFSv4: Fix a tracepoint Oops in initiate_file_draining()

Now that the value of 'ino' can be NULL or an ERR_PTR(), we need to
change the test in the tracepoint.

Fixes: ce5624f7e6675 ("NFSv4: Return NFS4ERR_DELAY when a layout fails...")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Cc: stable@vger.kernel.org # v4.17+
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs4trace.h