]> git.baikalelectronics.ru Git - kernel.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)
commitcb3d7162dbaa6c11edc9c314875a3096cce8d649
treecc5baf1d49ac497a750f9761d7a9bb1070f42af3
parent0c03113ac1b2e31e7422ebf88ddccf77f76cd959
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: 6352dd396fc8d ("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