]> 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)
commit53b9b79246f615ac9a9ee775681789d67e67cb39
treecc5baf1d49ac497a750f9761d7a9bb1070f42af3
parente8481ca4c68a96bfcb6db8ec0e354c045ee685c4
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: e81e339b44217 ("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