]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Fix a tracepoint Oops in initiate_file_draining()
authorTrond Myklebust <trondmy@gmail.com>
Wed, 5 Sep 2018 18:07:13 +0000 (14:07 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 14 Sep 2018 20:24:08 +0000 (16:24 -0400)
commite723840f47a93331226417f69687f52275b3ec53
treed4fae87639f1e646c9f11adafe9233b6d5549b68
parentea6a75a9ca2cc8194110bce4f6962681dd58ec1f
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